A todo web application for a single user and multi-user projects.
To run the project make sure you have node and npm.
Rename the .env-template file in the server directory to .env.
Open the .env file to configure it.
To run the server, go to server directory then run:
npm install
node app.js
To run the client you can use live-server in the client directory.
POST /api/users/login
email : your email
password : your password
GET /api/todos
POST /api/todos
name : todo name
description : todo description
dueDate : todo due date
status : todo status (finished/unfinished)
GET /api/todos/project/:projectId
POST /api/todos/project/:projectId
name : todo name
description : todo description
dueDate : todo due date
status : todo status (finished/unfinished)
GET /api/todos/:todoId
PUT /api/todos/:todoId
name : todo name
description : todo description
dueDate : todo due date
status : todo status (finished/unfinished)
DELETE /api/todos/:todoId
GET /api/projects
POST /api/projects
name : project name
description : project description
GET /api/projects/:projectId
PUT /api/projects/:projectId
name : project name
description : project description
DELETE /api/projects/:projectId
POST /api/projects/member/:projectId/:email
DELETE /api/projects/member/:projectId/:userId