Front end Routes - Khiienu/EZReads GitHub Wiki
/home
GET /homeLoads the home screen with selection of all games available.
/login
GET /loginwill show the user the login pagePOST /loginwill perform the login validation
/signup
GET /signupwill show the user the signup pagePOST /signupwill allow the user to signup
/game/:id
GET /game/:idwill show the individual game once clicked on.POST /game/:idwill allow the user to post their reviews/rate
/profile/:id
-
GET /profile/:idShould display three gameshelves(Want to play/ Have played/ Currently Playing), with three to five games shown at random. -
POST /profile/:id/Allows the user to click one of the three game shelves to redirect them to the individual shelves -
GET/POST /profile/:id/want_play -
GET/POST /profile/:id/have_played -
GET/POST /profile/:id/currently_playing
- The GET routes will display all the games on this shelf
- The POST routes will add a game to the shelf
/search
GET /searchis passed two parameters (system and genre), both of which accept null- Displays all games, filtered by each parameter passed