-
Notifications
You must be signed in to change notification settings - Fork 1
API Routes
Parker Bolick edited this page Nov 16, 2021
·
1 revision
- POST
/api/auth/signup - POST
/api/auth/login
- GET
/api/users/:userId
- PUT
/api/users/:userId
- GET
/api/auth/logout
- POST
/api/projects/
- GET
/api/projects/:projectId- Get one project
- GET
/api/projects/:userId- Get all user projects
- PUT
/api/projects/:projectId
- POST
/api/projects/delete- POST route will contain userId, projectId in request body
- POST
/api/sections/
- GET
/api/sections/:sectionId- Get one section
- GET
/api/sections/:projectId- Get all sections for project
- PUT
/api/sections/:sectionId
- POST
/api/sections/delete
- POST
/api/tasks/
- GET
/api/tasks/:taskId- Get one task
- GET
/api/tasks/:userId- Get all tasks for user
- PUT
/api/tasks/:taskId
- POST
/api/tasks/delete
- POST
/api/comments/
- GET
/api/comments/:commentId- Get one comment
- GET
/api/comments/:taskId- Get all comments for a task
- PUT
/api/comments/:commentId
- POST
/api/tasks/delete