- Node
v20.16.0 - npm
>=10
nvm use
npm install
cp .env.example .env.local
npm run devThe app runs on http://localhost:3000.
nvm use
npm install
cp .env.example .env.local
npm run build
npm run startThe production server also uses port 3000 unless PORT is overridden.
This module supports two setup styles:
- Local backend: keep
.env.localpointed athttp://localhost:8001/ - Hosted backend: replace the values in
.env.localwith a hostedhttps://API URL and matchingwss://websocket URL
- The committed
.env.exampleis set up for the local API in this repo - Use
wss://when the API is served overhttps://