-
Notifications
You must be signed in to change notification settings - Fork 1
Routes
Gabriel Talavera edited this page Apr 25, 2018
·
5 revisions
-
GET /api/users/:id
- get user -
POST /api/users
- sign up
-
GET /api/projects
- get projects of current user -
GET /api/projects/:projectId
- get specific project -
POST /api/projects
- create new project -
DELETE /api/projects/:projectId
- remove project
-
GET /auth/google
- log in -
GET /auth/google/callback
- verify with google -
GET /api/logout
- log out -
GET /api/current_user
- get current user
-
POST /api/branches/:branchId/commits
- create new commit -
GET /api/commits/:commitId
- show page for individual commits
-
GET /api/branches/:branchId/commits
- get commits associated with branch -
POST /api/branches
- create new branch
-
GET /api/revisions/:revisionId
- get revision view
-
POST /api/merge/:firstDraft/:secondDraft
- custom route to handle merging drafts (could end up changing)
-
/
- splash page /login
/signup
-
/dashboard
- projects homepage -
/projects/projectId/branchId
- project show page -
/document/documentId
- document show page/edit page -
/document/new
- document creation page