The To-do List Project is a fullstack project made in early 2021.
This backend project is deployed on Heroku.
If you want to take a look on the frontend project made with React, follow this link : To-do-List React app
Packages & libraries used :
Add a new user in database
| Body | Type | Required |
|---|---|---|
email |
string | Yes |
password |
string | Yes |
username |
string | Yes |
Log a user
| Body | Type | Required |
|---|---|---|
email |
string | Yes |
password |
string | Yes |
Create a new board
| Body | Type | Required |
|---|---|---|
title |
string | Yes |
Get all boards of the user
Update a board title
| Body | Type | Required |
|---|---|---|
title |
string | Yes |
| Param | Required | Description |
|---|---|---|
id |
Yes | board id |
Delete a board and all tasks associated
| Param | Required | Description |
|---|---|---|
id |
Yes | board id |
Create a new task
| Body | Type | Required |
|---|---|---|
title |
string | Yes |
boardId |
string | Yes |
Get all tasks of a board
| Param | Required | Description |
|---|---|---|
boardId |
Yes | board id |
Update a task title or a task status
| Body | Type | Required |
|---|---|---|
title |
string | No |
done |
boolean | No |
| Param | Required | Description |
|---|---|---|
id |
Yes | task id |
Delete a task
| Param | Required | Description |
|---|---|---|
id |
Yes | task id |
You will need node and yarn or npm installed globally on your machine.
Clone this repository :
git clone https://github.com/Corinne-Coding/To-do-List-express-API.git
cd To-do-List-express-APIInstall packages with yarn or npm :
yarnor
npm installWhen installation is complete, start the server :
npx nodemon