-
Notifications
You must be signed in to change notification settings - Fork 0
API Documentation
Brandon Copeland edited this page Mar 24, 2022
·
1 revision
This web app uses the following API routes to dynamically update the page to create a single-page-app-like feel for the user for specific features.
- GET "/"
- Get all the Breweries/post from database from the table breweries
- POST "/"
- Post an Breweries/post into database to the table breweries
- PUT "/:id"
- Update an Breweries/Post into database to a record on the table breweries
- DELETE "/:id"
- Delete an brewery record off of database from the table breweries
- GET "/"
- Get all the reviews from database from the table reviews
- POST "/"
- Post a review into database to the table reviews with the given brewery_id and user_id
- PUT "/:id"
- Updates a review from database to a record on the table reviews
- DELETE "/:id"
- Delete a record off of database from the table reviews
- GET "/"
- Get all the Image/post from database from the table images
- POST "/"
- Post an Image/post into database to the table images
- DELETE "/:id"
- Delete an image record off of database from the table images