-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
Zalkifl Syed edited this page Jan 22, 2019
·
5 revisions
-
GET /StaticPagesController#root
-
GET /api/usersfetch user -
POST /api/userscreate new user
-
POST /api/sessionSign in -
DELETE /api/sessionSign out
-
GET /api/tabs- fetch all Bills -
GET /api/tabs/:id- fetch Bill -
POST /api/groups/:group_id/tabs/- create a Bill
-
GET /api/restaurants- fetches all restaurants user has opened tabs in -
GET /api/restaurants/:id- fetch data for a single restaurant -
post /api/tabs/:tab_id/restaurants/new- create a restaurant under atab_id
-
GET /api/friends- fetched all friends -
GET /api/friends/:id- fetches all data on a specific friend
-
GET /api/comments- fetches all the comments -
GET /api/tabs/:tab_id/comment/new- make a new comment
-
GET /api/groups- fetches all groups user is currently in -
GET /api/groups/:id- fetch all the friends in the group and all the tabs
-
post /api/tabs/:tab_id/split- create new split on tab -
patch /api/split/:id- edit a split