-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
Rudy edited this page Apr 10, 2019
·
5 revisions
GET / Single HTML page for the React container
POST /api/users - Sign Up a new user
POST /api/session - Log in an existing user
DELETE /api/session - Log out an existing user
GET /api/restaurants - Get abbreviated list of all restaurants for quick searching
GET /api/restaurants/:id - Get full information for a specific restaurant, including reviews
POST /api/reviews - Create a review for an existing restaurant
PUT /api/reviews - Edit a review for an existing restaurant
DELETE /api/review - Remove a review for an existing restaurant