Configuration
- Create a
.env.local
file in the root directory of the project:
# API host for internal requests.
#
# For example, if the API is running on localhost:8080,
# set INTERNAL_API_HOST=localhost:8080.
#
# If the API is running as a docker compose service called "api",
# set INTERNAL_API_HOST=api:8080.
INTERNAL_API_HOST=
# API host for public requests.
#
# This is the host that the client will use to make requests to the API.
# It is needed because the client connects to the API from the browser
# for websocket connections.
#
# For example, if the API is running on saci.inf.ufpr.br:8080,
# set NEXT_PUBLIC_API_HOST=saci.inf.ufpr.br:8080.
NEXT_PUBLIC_API_HOST=
Development
- Enable yarn:
corepack enable
- Install dependencies:
yarn install
- Start the development server:
yarn dev