Login, roll a number, and all other connected players will see the sum of self-rolled value.
pnpm
if not yet (npm i -g pnpm
).apps/web
, run pnpm i
.pnpm dev
, app will be served at http://localhost:5173
docker
if not yet from the official websiteapps/web
, run docker build -t web .
docker run -p 8080:3000 -e ORIGIN=http://localhost:8080 -e JWT_SECRET=FOO web
http://localhost:8080
pnpm
if not yet (npm i -g pnpm
).apps/nest-socket
, run pnpm i
.pnpm dev
, app will be served at http://localhost:3000
docker
if not yet from the official websiteapps/nest-socket
, run docker build -t nest-socket .
docker run -p 8081:3000 -e JWT_SECRET=FOO nest-socket
http://localhost:8081
Run the command below (assuming on Windows Powershell):
$env:WEB_PORT="8080"; `
$env:ORIGIN="http://localhost:8080"; `
$env:JWT_SECRET="FOO"; `
$env:PUBLIC_IO_URL="http://localhost:8081"; `
$env:NEST_PORT="8081"; `
docker compose up --build