Table of contents:
Check the development section in the main README file before reading this one.
packages/app
unless explicitly said otherwise.
Create a .env
file and set the following environment variables:
Variable | Description |
---|---|
NEXT_PUBLIC_API_BASE_URL |
Base URL of your back-end server |
All variables without a default value are required.
You can use the following .env
sample as a starting point for local development.
NEXT_PUBLIC_API_BASE_URL=http://localhost:2000
yarn dev
Open http://localhost:3000 with your browser to see the result.
[WSL] Nothing shows up on http://localhost:3000
Current workaround: run ipconfig /flushdns
and restart the computer.