Update README.md

This commit is contained in:
Daniel
2023-02-02 00:56:45 +02:00
committed by GitHub
parent d37d6541e4
commit 1aaee7e870

View File

@@ -11,3 +11,13 @@ Method | URL | Function
| `POST:` | `/api/v1/tasks` | Creates a new task
| `PATCH:` | `/api/v1/tasks/:ID` | Updates a specific task on the server
| `DELETE:` | `/api/v1/tasks/:ID` | Deleted a specific task
#### The MongoDB Schema is as follows:
```json
{
_id: "ID", `ID, default`
name: "Task Content", `String`
completed: true/false, `Boolean`
}
```