-
Notifications
You must be signed in to change notification settings - Fork 2
Backend Routes
Taylor Musolf edited this page Oct 28, 2021
·
6 revisions
-
GET /
StaticPagesController#root
-
POST /api/users
- sign up
-
POST /api/session
- log in -
DELETE /api/session
- log out
-
GET /api/projects
- returns all projects -
GET /api/projects/:id
- returns a project -
POST /api/projects
- creates a project -
PATCH /api/projects/:id
- edit a project -
DELETE /api/projects/:id
- remove a project
-
GET /api/categories
- category search -
GET /api/categories/:id
- returns a category
-
GET /api/backings/:id
- returns a backing -
POST /api/backings
- creates a backing -
DELETE /api/backings/:id
- remove a backing
-
GET /api/rewards
- returns rewards for a project -
GET /api/rewards/:id
- returns a reward -
POST /api/rewards
- creates a reward -
PATCH /api/rewards/:id
- edit a reward -
DELETE /api/rewards/:id
- remove a reward
-
GET /api/project_categories/:id
- returns a project's categories -
POST /api/project_categories
- creates categories for a project -
DELETE /api/project_categories/:id
- remove categories for a project
-
POST /api/comments
- creates a comment -
PATCH /api/comments/:id
- edit a comment -
DELETE /api/comments/:id
- remove a comment
-
POST /api/likes
- like a project -
DELETE /api/likes/:id
- unlike a project