Skip to content

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.

Notifications You must be signed in to change notification settings

PiotrRynio/pokemon-trainer-registration

Repository files navigation

Pokemon Trainer Registration

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

Getting Started

Running Production version (locally):

  1. Install Docker & Docker Compose.
  2. Clone this project locally.
  3. 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.
  4. Go to http://localhost:3000 in your browser.
  5. Have fun!

Running the development version:

  1. Install Node and NPM on your machine.
  2. Use npm install to install all dependencies.
  3. Run npm run dev to start the development server.
  4. Go to http://localhost:3000 in your browser.
  5. The page auto-updates as you edit the file. 6Have fun!

Others:

  • 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 and npm run presentation in your bash/command line (in main folder).

Tests:

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


Authors

Piotr Rynio
Contact: [email protected]
github.com/PiotrRynio/


About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages