Update README.md
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
Tiny To-Do-List-type task manager created using basic HTML/CSS/JS on the front side, and Node.js, paired with Express.js and MongoDB on the backend.
|
Tiny To-Do-List-type task manager created using basic HTML/CSS/JS on the front side, and Node.js, paired with Express.js and MongoDB on the backend.
|
||||||
|
|
||||||
To setup, run `npm install` and create the `.env` file, filling up the `MONGO_URI` and `SERVER_PORT` fields.
|
To setup, run `npm install` and create the `.env` file, filling up the `MONGO_URI` and `SERVER_PORT` fields.
|
||||||
|
---
|
||||||
#### It does the following API calls:
|
#### It does the following API calls:
|
||||||
|
|
||||||
Method | URL | Function
|
Method | URL | Function
|
||||||
@@ -13,7 +13,7 @@ Method | URL | Function
|
|||||||
| `POST:` | `/api/v1/tasks` | Creates a new task
|
| `POST:` | `/api/v1/tasks` | Creates a new task
|
||||||
| `PATCH:` | `/api/v1/tasks/:ID` | Updates a specific task on the server
|
| `PATCH:` | `/api/v1/tasks/:ID` | Updates a specific task on the server
|
||||||
| `DELETE:` | `/api/v1/tasks/:ID` | Deleted a specific task
|
| `DELETE:` | `/api/v1/tasks/:ID` | Deleted a specific task
|
||||||
|
---
|
||||||
#### The MongoDB Schema is as follows:
|
#### The MongoDB Schema is as follows:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user