From 1aaee7e870f1b273f3c441948b75f8b540c945f2 Mon Sep 17 00:00:00 2001 From: Daniel <59575049+lemoentjiez@users.noreply.github.com> Date: Thu, 2 Feb 2023 00:56:45 +0200 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ed0935a..e697958 100644 --- a/README.md +++ b/README.md @@ -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` + } +```