-
Notifications
You must be signed in to change notification settings - Fork 3
Backend Routes
Griffin Sharp edited this page Nov 5, 2019
·
8 revisions
-
GET /
StaticPagesController#root
-
POST /api/session
- logs in -
DELETE /api/session
- logs out
-
GET /api/users/:user_id
- specific user's profile show page -
POST /api/users
- sign up
-
GET /api/projects
- project index -
GET /api/projects/:project_id
- specific project's show page -
POST /api/projects
- create project -
PATCH /api/projects/:project_id
- edits/update project -
DELETE /api/projects/:project_id
- delete project
-
GET /api/categories/:category_id
- all projects from a specific category
-
POST /api/rewards
- creates a reward for a project -
DELETE /api/rewards/reward_id
- deletes a reward from a project