Skip to content

YZinych/MobilityTodo

Repository files navigation

MobilityTodo

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

Live Demo

Setup Instructions

1. Clone the Repository

To begin, clone the repository into your project directory:

git clone git@github.com:YZinych/MobilityTodo.git .

2. Configure Environment Variables

Copy environment variables for Laravel

cp .env.example .env

Copy environment variables for Docker

cp docker-db.env.example docker-db.env

Optional:

Update database settings in .env and docker-db.env files to prevent using demo credentials

3. Build the Docker Images

Build the Docker images for the application without using the cache:

docker-compose build --no-cache

4. Start the Services

Start the application and database services in detached mode:

docker-compose up -d

5. Enter the app container

docker exec -it todo_laravel_app bash

6. Install Laravel Dependencies

Install Laravel's dependencies:

composer install

7. Generate Laravel Application Key

Generate the Laravel application key to secure your application:

php artisan key:generate

8. Run Database Migrations

php artisan migrate

9. Check the Database

  • 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

10. Access the Web Application

  • Make sure port 8080 is available on your machine.
  • Finally, access the Laravel application in your browser:
http://localhost:8080/

11. Optional. Install Node modules

npm install

About

MobilityTodo is a simple web application for managing tasks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published