Node.js and pnpm versions are pinned in package.json (devEngines.runtime, packageManager). The Nix flake provides both: run nix develop (or let direnv load .envrc).
Run pnpm install in the repository root to install dependencies for packages/backendv2 and packages/quizzes-dashboard.
To start the server:
cd packages/backendv2
pnpm run devTo start the dashboard:
cd packages/quizzes-dashboard
pnpm run devRun pnpm run format and pnpm run lint in the root directory before committing.
To load widget in playground:
cd packages/moocfi-quizzes
nvm use 12
npm ci
cd example
npm ci
npm startSetup the project locally by running the command:
docker-compose up -dTo setup the database run the command:
./bin/setup-database.sh
Visit example project at http://localhost:1234 and dashboard at http://localhost:5000