Open Shhmabbey opened 1 year ago
Be sure to add in any HTML Routes that you might have like the splash page! See example below for formatting help.
GET /
- StaticPagesController#root
users
GET /api/users
- Home pagePOST /api/users
- Sign upsession
POST /api/session
- Sign inDELETE /api/session
- Sign outproducts
GET /api/products
- All productsGET /api/products/:id
- One productcarts
GET /api/users/:user_id/carts/:cart_id
- One cartPOST /api/users/:user_id/carts
- Add cartI changed the format, please confirm if this looks good.
Looks good!
Backend Routes
snake_case
GET likes
api endpoint because that info comes through the post show