-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
junnac edited this page Nov 5, 2019
·
7 revisions
-
GET /
StaticPagesController#root
-
GET /api/users/:id
- returns user profile and list of favorite breweries -
POST /api/users
- sign up
-
POST /api/session
- log in -
DELETE /api/session
- log out
-
GET /api/breweries
- returns relevant breweries
-
GET /api/guides
- returns list of all guides -
GET /api/guides/:id
- return specific guide show page
-
POST /api/breweries/:brewery_id/favorites
- favorites a brewery -
DELETE /api/breweries/:brewery_id/favorites
- removes a favorite