A Pokémon directory built on top of PokéAPI. Using nextjs' App router, graphql, and shadcn-ui.
- Search pokémon list (
/
) - Detail pokémon (
/:name
) - Compare 2 pokémon (
/compare
)
- First, clone this repository:
git clone https://github.com/anshoriacc/pokesaurus.git
- Go to pokesaurus folder (if you haven't change it):
cd pokesaurus
-
Rename file
.env.example
to.env
-
If you use pnpm as default, just run:
pnpm install
- If you use another package manager, remove
pnpm-lock.yaml
first and run:
npm install
# or
yarn install
# or
bun install
- Start development server:
pnpm dev
# or
npm run dev
# or
yarn dev
# or
bun dev
- Open http://localhost:3000 with your browser to see the result.