-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
Elhoussine edited this page Mar 15, 2022
·
1 revision
GET / StaticPagesController#root
-
GET /api/users/:id
- get user show page -
POST /api/users
- sign up new user
-
POST /api/session
- login user -
DELETE /api/session
- logout user
-
GET /api/products
- products index page -
GET /api/products/:id
- product show page
-
GET /api/cart_items
- all cart items index page -
POST /api/cart_items
- add items into cart page -
PATCH /api/cart_items/:id
- update items in cart -
DELETE /api/cart_items/:id
- remove items in cart