MobilityTodo is a simple web application for managing tasks, offering basic functionality such as:
- User registration and login
- Creating, editing, removing, and toggling tasks
The app is developed using a REST API, with jQuery handling the front-end communication and Laravel managing the back-end.
Technology Stack:
- Docker (PHP 7.1, MySQL, Nginx)
- Laravel 5.3 for back-end development
- jQuery, SCSS, Gulp, Bootstrap 4 for front-end development
To begin, clone the repository into your project directory:
git clone git@github.com:YZinych/MobilityTodo.git .
Copy environment variables for Laravel
cp .env.example .env
Copy environment variables for Docker
cp docker-db.env.example docker-db.env
Update database settings in .env
and docker-db.env
files to prevent using demo credentials
Build the Docker images for the application without using the cache:
docker-compose build --no-cache
Start the application and database services in detached mode:
docker-compose up -d
docker exec -it todo_laravel_app bash
Install Laravel's dependencies:
composer install
Generate the Laravel application key to secure your application:
php artisan key:generate
php artisan migrate
- Make sure port
7761
is available on your machine. - To ensure the database is properly configured, access the database check page using your
.env
credentials:
http://localhost:7761/index.php
- Make sure port
8080
is available on your machine. - Finally, access the Laravel application in your browser:
http://localhost:8080/
npm install