-
Notifications
You must be signed in to change notification settings - Fork 2
Frontend Routes
Tran Le edited this page Apr 5, 2021
·
11 revisions
This page displays a log in form
GET /login
POST /login
POST /demo-user
POST /logout
This page displays a sign up form
GET /sign-up
POST /sign-up
This page displays the most recent and most popular games with their rating, as well as a navigation bar with login/signup or logout buttons.
GET /
This page displays the game's page that will include the developer, genre, platform, description, and reviews. Each game's page has an update and delete review button if it belongs to the currently logged in user. A user can create a review only if they are a logged in user.
GET /games/:id/
This page displays a form to create a review for the associated game.
GET /games/:id/review
POST /games/:id/review
POST /reviews/:id/edit
POST /reviews/:id/delete
This page displays the user's profile which includes their reviews and links to their game shelves.
GET /profile
POST /reviews/:id/edit
POST /reviews/:id/delete
This page displays the user's profile which includes their links to their game shelves and reviews.
GET /game-shelves
POST /add
POST /remove