Mono-repo for the whole architecture of boardgamers.space.
We use pnpm as our package manager!
A recent version of node, 14+ ideally, is required
There is a webapp and an admin.
pnpm --filter web dev
pnpm --filter admin devYou can directly run the frontend against the website! No need to run the backend. To do so, just create .env in the apps/web folder with VITE_backend=https://boardgamers.space.
You can follow the instructions in api-node and game-server, or you can just run the following command:
# start mongodb backend
docker compose up -d
pnpm --filter api dev
# launch in another terminal
pnpm --filter game-server devFrom the repo root, this runs the api, game-server and webapp in parallel:
docker compose up -d # mongodb
pnpm devAdd pnpm dev:admin for the admin panel.
To run several copies of the stack side-by-side (e.g. one per agent or per PR), give each its own worktree and loopback IP.
See the "Running instances" section of AGENTS.md for details.