issues
search
XLG123
/
yep
A fullstack clone of yelp, where users can browse local restaurants, write reviews, check ratings, and leave reactions on other people's reviews.
https://yep-ech2.onrender.com/
0
stars
0
forks
source link
Backend Routes
#5
Open
aminbabar
opened
1 year ago
aminbabar
commented
1 year ago
[x] Contains the following sections: HTML, API Endpoints(Backend)
[x] Each route has a description
[x] API Endpoint routes contains wildcard variables written in
snake_case
[x] Routes does not contain
superfluous routes
[ ] Have API routes that will allow the front end to get all info it needs and does not have unneeded routes:
probably doesn't need a
GET likes
api endpoint because that info comes through the post show
aminbabar
commented
1 year ago
You do not need a get for all reviews. The info can be sent along with the business page itself in the businesses jbuilder.
You do not need a get for just one review.
You do not need to worry about editing a user because that is not one of your features.
snake_case
GET likes
api endpoint because that info comes through the post show