Welcome to the Backend API
🤨 You should not be here!
But since you've found it, here are the endpoints:
-
/- the default route. It serves this HTML file along with the CSS & JS from/public- basically this page! -
/check- a health check. Returns JSON so you can confirm the server is running -
/api/tasks- the example CRUD resource. Copy its shape for your own resources:GET /api/tasks- list all tasksGET /api/tasks/:id- get one taskPOST /api/tasks- create a task-
PUT /api/tasks/:id- replace a task (all fields) -
PATCH /api/tasks/:id- update part of a task (some fields) -
DELETE /api/tasks/:id- delete a task