a2a6a6271496c810b41a961bd2d8b24ae8afef4d
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.
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:
| 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, default",
name: "Task Content, String",
completed: true/false, Boolean,
}
Languages
JavaScript
42.5%
CSS
41.2%
HTML
16.3%