This project is the Front-end for a ranking website made using Next.js
Make sure you have Node.js installed on your machine.
-
Clone this repository;
-
Navigate to the project directory;
-
Create the
.env.localfile with the URL where the backend is running. Example:NEXT_PUBLIC_API="http://api-adress.com" -
Install the dependencies:
yarn
-
To start the server, run:
yarn run dev
To start the container, run:
docker compose up appYou can set the following environment variable in a .env file:
DOCKER_EXPOSED_PORT: Port on the host machine to access the application (default:8082)