You can set up you shell to automatically switch node version between folders. Instructions.
To run locally
At the project root
nvm use
npm ci
To start the server:
cd packages/backend
nvm use
npm ci
npm run build
npm start
To start the server (V2):
cd packages/backendv2
nvm use
npm ci
npm run dev
To start the dashboard:
cd packages/dashboard
nvm use
npm ci
npm start
To load widget in playground:
cd packages/moocfi-quizzes
nvm use
npm ci
cd example
npm ci
npm start
Setup the project locally by running the command:
docker-compose up -d
To setup the database run the command:
./bin/setup-database.sh
Visit example project at http://localhost:1234 and dashboard at http://localhost:5000