Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 2.1 KB

README.md

File metadata and controls

41 lines (34 loc) · 2.1 KB

Shield showing last commit date Shield showing top language Shield showing build status Shield showing repository license

This is an informative Pokédex viewer built with Next.js. It fetches data from the popular PokéAPI to ensure data is automatically up to date as new games release. Pokémon are split between generation, and data is fetched at compile time, to reduce browser overhead.

The app gives you helpful information about Pokémon and serves as a resource for those who are either looking for information about their favourite Pokémon, or trying to catch 'em all in the newest game.

We follow the PokéAPI fair use policy. We cache resources as much as possible, and request data from GitHub when it exists there. We try to be as respectful to PokéAPI as much as possible with the knowledge that they supply data for countless other sites and apps. Caching is achieved by building the site once per git push. This has the downside of meaning that upon API updates (i.e. when new Pokémon or games release) the build workflow must be run once (either manually or via git push) to reflect on the site.

Build and deploy

npm i           # install dependencies
npm run dev     # run development server
npm run build   # build to .next/server/app/