1.2 KiB
1.2 KiB
Fog Expedition Monorepo
Nx-style monorepo scaffolding for:
apps/twitch-extension-panel(Angular viewer panel)apps/broadcaster-config(Angular broadcaster config view)apps/api(NestJS EBS API + tick engine)libs/api-interfaces(shared contracts)libs/mission-logic(encounter resolver + simulator CLI)libs/encounter-library(encounter content + schema validation)
Quick start
- Install Node.js 20+
- Run
npm install - Copy
.env.exampleto.envand fill values - Start infra with
docker compose up -d postgres redis - Run
npm run start:apiandnpm run start:panel
Useful commands
npm run start:local-dev- starts panel with Twitch mock mode enablednpm run simulate- runs mission balance simulationnx run encounter-library:validate- validates encounter JSON schema
Devcontainer
- Reopen this folder in a devcontainer (VS Code/Cursor command: "Reopen in Container").
- The container uses
.devcontainer/devcontainer.jsonand starts:workspaceservice (Node 20)postgresredis
- Dependencies are installed automatically via
postCreateCommand(npm install). - After the container starts, run:
npm run start:apinpm run start:panel