Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.58 KB

README.md

File metadata and controls

44 lines (33 loc) · 2.58 KB

This project is a Pokemon Store Api. Got data from PokeApi, customized with a price property and created new Query Params.
Create your own Pokestore and enjoy. Gotta catch’em all! :)


🧩 Tecnologies


🛣️ Routes


🚀 Query Params

  1. Pagination


  2. https://pokestore-api.herokuapp.com/pokemon?offset=20&limit=20


    You can see and navigate the API through the Pagination Query Params. The Offset means the Pokemon Index and Limit is how many Pokemon will appear in the page. You can change the URL to customize the Limit and Offset. Also, you have the Next and Previous to navigate throught the Api more efficiently. Those query params also work in the Type Route.


  3. Search Pokemon


  4. https://pokestore-api.herokuapp.com/pokemon/bulbasaur || 1 (key)


    You can search the Pokemon by adding a Paramater after the Pokemon Route. The parameter must be the Pokemon name or key values. If you type the incomplete name, the Api will still show the possible matches.


    https://pokestore-api.herokuapp.com/type/grass/pokemon/bulbasaur || 1 (key)


    The same occurs in the type route!


  5. Order Page


  6. https://pokestore-api.herokuapp.com/pokemon?offset=20&limit=20&order=name || key || any


    You can set the wanted order to display the Pokemon using any Pokemon Parameters and they will show the Pokemon in a ascending order. However, the next, previous and orderBy(Name || Key), only works with the key or name properties. To use another property besides those, you will need to set this directly on Fetch. This query params also work in the Type Route.