Files
taskmanager/README.md
2023-02-02 00:57:01 +02:00

742 B

task-manager-js

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.

It does the following API calls:

Method URL Function
GET: /api/v1/tasks Retrieves a list of all tasks from the server
GET: /api/v1/tasks/:ID Retrieves a specific task from the server
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:

  {
    _id: "ID", `ID, default`
    name: "Task Content", `String`
    completed: true/false, `Boolean`
  }