This is a simple web application that allows users to register as a Pokemon Trainer. The application is built using Next.js, a React framework.
Repo url: Link
- Install Docker & Docker Compose.
- Clone this project locally.
- Run
docker-compose -f docker-compose.yml up
in your bash/command line (in main folder). Make sure that ports 3000 is free on your machine before. - Go to
http://localhost:3000
in your browser. - Have fun!
- Install
Node
andNPM
on your machine. - Use
npm install
to install all dependencies. - Run
npm run dev
to start the development server. - Go to
http://localhost:3000
in your browser. - The page auto-updates as you edit the file. 6Have fun!
- App port: 3000
- Node version: 18
- NPM version: 10.2.3
- http://localhost:3000 with your browser to see the result.
- Additionally, you can start production version by running
npm install
andnpm run presentation
in your bash/command line (in main folder).
I decided not to mock requests to Next Api because I wanted to test the all app together (with backend part).
!!! IMPORTANT !!!
If you want to run tests, please run the application first.
Queries to external APIs are mocked
Piotr Rynio
Contact:
[email protected]
github.com/PiotrRynio/