A simple React app demonstrating pagination with pokeapi. You can view the deployed app here
/**
* APIs and Pokémons
* =================
*
* Using the PokéAPI, write a program to obtain the names of Pokémon
* species known to the API. Use pagination when obtaining
* the species names - Add buttons to view the next/previous set of
* results. ~ FOR IC4 ~ Under the next/previous buttons, also add buttons for all
* possible pages that populate with results when you click the page.
* Present the names in alphabetical order.
*
*
* Note: this is a public API for which no API key/token is needed.
*
* You may refer to the PokéAPI docs here:
* https://pokeapi.co/docs/v2
* Hint: You will want to use the
* https://pokeapi.co/api/v2/pokemon-species/ endpoint.
* **/
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.