The server is hosted at https://collate-task.herokuapp.com/
/login
/signup
- /api/v1/signup -> POST
- /api/v1/login -> POST
- /api/v1/createTask -> POST
- /api/v1/updateTask?id= -> PATCH
- /api/v1/getAllTasks -> GET
- /api/v1/deleteTask?id= -> DELETE
- /api/v1/logout -> POST
/api/v1/signup
In body - > name, email, password
/api/v1/login
In body - > email, password
/api/v1/createTask
In body - > name, description, deadline, status
Important
status should only have either one of these['Not Started', 'Ongoing', 'Completed'] values.
/api/v1/updateTask?id=
In query - > id of the task to be updated In body - > fields that need to be updated
/api/v1/getAllTasks
It gets all the task for that user
/api/v1/deleteTask?id=
In query - > id of the task to be deleted
/api/v1/logout
It is used for logging out