-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
Anton James edited this page May 24, 2023
·
3 revisions
-
GET/- Home page of the app
-
GET/api/users- Gets the user information of displayed game review -
POST/api/users- Sign up
-
GET/api/session- Restore session -
POST/api/session- Log in -
DELETE/api/session- Log out
-
GET/api/games- Gets list of all games -
GET/api/games/:id- Returns specific game
-
GET/api/cart/:id- Gets cart with related to current user games
-
GET/api/reviews- Gets all reviews -
GET/api/review/:id- Gets specific review -
POST/api/review- Creates a review -
PATCH/api/review/:id- Edit review -
DELETE/api/review/:id- Removes a review