Pokemon Awesome
Pokemon Data
All Pokemon data used in this project comes from PokeAPI GraphQL Beta.
Playground: https://beta.pokeapi.co/graphql/console/
All Pokemon images (artwork) comes from https://github.com/PokeAPI/sprites
Getting Started
- Install dependencies using
yarn install
. - Prepare environment variables (
.env.local
), refer to.env.example
file. - Prepare data using
yarn prepare-data
. - Run development server using
yarn dev
.
For production, use this script: yarn build && yarn start
Quality Check
- Prettier check:
yarn format
- ESLint check:
yarn lint
- TypeScript check:
yarn lint:types
- End-to-end test check:
yarn test:e2e
Misc.
This project is using Next.js [TypeScript] + Tailwind CSS Starter Template.
The starter template contains:
- β‘οΈ Next.js 12
- βοΈ React 18
- π Tailwind CSS 3
- πͺ Prettier β Format your code automatically, this will also run on save
- π§Ό ESLint β Find & fix problems in your code, and auto sort your imports
- πΆ Husky & Lint Staged β Check & fix code when commit, block commit if bad code detected
- π Commit Lint β Make sure the commit message follows the conventional commit
- βοΈ Github Actions β Check your code on push & pull-request
- π€ Dependabot β Create pull-request to update your dependencies
- π Absolute Import β Import modules using
@/
prefix - π React Icons β Include popular icons in your React projects easily
- π React Power-Ups β Collection of React hooks to speed-up your app development