-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Routes
kdng edited this page Mar 14, 2022
·
17 revisions
- A navbar is displayed across all pages of the app, and contains links to:
- GET /
- GET /login
- GET /signup
- GET /pokemons
- GET /catchlists
- GET /catchlists/caught
- GET /catchlists/currently-hunting
- GET /catchlists/plan-to-catch
- GET /pokemons/:pokemonId/reviews
- This route will get the trainer to the sign up form
- Routes to page
- GET /signup
- POST /signup
- Routes to page
- This route will get the trainer to the log in form
- Routes to page
- GET /login
- POST /login
- Routes to page
- This page will display all pokemons in the pokemon list
- Route to page
- GET /pokemons
- Route to page
- This page will get the trainer to a specific pokemon when clicked
- Route to specific pokemon
- GET /pokemons/:id
- Route to specific pokemon
- This route will get the trainer to their specific catchlist when logged in
- Routes to specific catchlist
- GET /catchlists/caught
- GET /catchlists/currently-hunting
- GET /catchlists/plan-to-catch
- Routes to specific catchlist
- This route will get the trainer to the reviews of every pokemon on the pokemon list
- Routes to get/post/update/delete pokemon reviews:
- GET /pokemons/:pokemonId/reviews/:reviewsId
- POST /pokemons/:pokemonId/reviews/
- PUT /pokemons/:pokemonId/reviews/:reviewsId
- DELETE /pokemons/:pokemonId/reviews/:reviewsId
- Routes to get/post/update/delete pokemon reviews: