Poke-Next is a Next.js app to list and view pokémon's information.
This project uses TypeScript, Styled-Components, ESLint, Prettier, Husky, Jest, React Testing Library, Docker, PostgreSQL and Prisma ORM.
Mobile Layout | Desktop Layout |
---|---|
![]() |
![]() |
# One time run
docker-compose up -d --build
# Force containers recreation on every run with orphans cleanup
docker-compose up -d --build --force-recreate --remove-orphans
# App will run on http://localhost:3000
# Generate Prisma Client
yarn prisma generate
# Migrate Prisma Database
yarn prisma migrate dev --name init
# Reset Prisma Migrations
yarn prisma migrate reset
# install dependencies
yarn
# run tests once
yarn test
# run tests coverage
yarn test:coverage
# start db container
docker-compose up -d --build postgres
# install dependencies
yarn
# run in development
yarn dev