Warning: for some reason this project has unstable behavior with vercel [Done].
► Poke App
Developed with the software and tools below.
This projects is a POC app that aims to demonstrate a flow consuming the PokeAPI.
- Show a list of pokemons
- Show pokemon details
- Search pokemons
- Set pokemons as favorites
- Login
└── /
├── README.md
├── bun.lockb
├── components.json
├── jest.config.ts
├── jest.setup.ts
├── next.config.mjs
├── package.json
├── postcss.config.js
├── public
│ ├── next.svg
│ ├── placeholder-logo.svg
│ └── vercel.svg
├── src
│ ├── animations
│ ├── app
│ ├── components
│ ├── hooks
│ ├── lib
│ ├── middleware.ts
│ ├── providers
│ ├── services
│ └── store
├── tailwind.config.ts
└── tsconfig.json
System Requirements:
- TypeScript:
version 5.4.2
- Node:
version 20+
- Bun:
version 1.0.20+
Local development Ensure
.env.local
file in the project root directory with the following content:NEXT_PUBLIC_API_URL= NEXT_PUBLIC_POKE_IMAGE_URL= NEXTAUTH_SECRET=
⚠️ reference values can be reviewed in the.env.example
file
$ bun install
- Install the dependencies:
$ bun install
- Run the application:
$ bun dev
Run the test suite using the command below:
$ bun run test