Skip to content

ErwannRousseau/Task-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task-Manager

screen shot overview of Task-Manager

Task-Manager is a web application for managing tasks using JavaScript for the frontend and Laravel for the backend.

Features

  • Add a task
  • Edit a task
  • Assign a task to a category
  • Delete a task

Prerequisites

  • PHP >= 7.3
  • Composer

Installation and configuration

  1. Clone this repository on your computer.
  2. Open a terminal and access the root directory of the application.
  3. Run :
cd backend/
compose install

This will install the PHP dependencies.

  1. In the backend folder, copy the .env.example file to .env and configure the database settings.

    Replicate the fields:

    Database name :

    DB_DATABASE= (give the desired name for the database)
    

    The name of the user to connect with:

    DB_USERNAME=
    

    The user's password :

    DB_PASSWORD=
    

Note: Make sure your database is running on port 3306. If this is not the case, please change the value of DB_PORT.

  1. In the terminal run :
php artisan key:generate
php artisan migrate

Reply with yes to allow Laravel to create a database with the name you specified during configuration.

This will create the databases required for the application to function correctly.

Usage

In the same terminal, run:

php artisan serve --port=8001

This will launch the server to manage the API. The server will run on port 8001 to avoid errors if your localhost is running on port 80.

In a new terminal, go to the root of the project, and run the command :

php -S localhost:8080 -t frontend/

Go to the URL displayed in the terminal to access the application.

You can now use TaskManager.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published