This repo contains the api collection for the popular Kanban task app.
- User should be able to register
- User should be able to login with Passport using JWT
- User should be able to logout
- Implement basic auth
- User should be able to create board
- Users should be able to get all boards
- Users should be able to get each board
- Users should be able to update and delete boards
- User should be able to add a task to a board
- Users should be able to get all tasks for a board
- Users should be able to get each task for a board
- Users should be able to update and delete tasks
- Users should be able to add subtasks to a given task
- Users should be able to mark a subtask as completed or uncompleted
- Users should be able to edit or remove a subtasks
- Users should be able to collaborate with a registered user on a board
- Collaborated users on a board should be able to get the collaborated board, update the board but can't delete a board.
- Only the creator of a board should be able to delete the board
- Install NodeJS, mongodb
- pull this repo
- Open the folder on your local computer
- At the terminal, run
npm installto install all packages - run
npm run start:devornodemonto start the server
https://kanban-task-api.cyclic.app/
| Field | Data type | constraint |
|---|---|---|
| String | unique, required | |
| id | String | required |
| fullname | String | required |
| Password | String | required |
| timestamps | String | required |
| Field | Data type | constraint |
|---|---|---|
| id | String | required |
| name | String | required |
| collaborators | String | required |
| userId | String | required |
| Field | Data type | constraint |
|---|---|---|
| id | String | required |
| title | String | required |
| description | String | required |
| status | String | optional |
| boardId | String | required |
All routes and API details can be found at the documentation here