Backend for our whiteboard.
To build and run the server simply execute
docker compose upor to run in background
docker compose up -dThen you can stop the containers with
docker compose stopSee developing tips for instructions on how to work with containers in VS Code.
When using docker this should be done inside the container.
To perform only type checking you can run:
npm run type-checkLint with ESLint
To validate:
npm run lint-checkTo run lint and fix:
npm run lintTo format:
npm run formatTo check formating:
npm run format-checkPlease run format, lint and type checks before each commit.
First you need to install redis on your device with your system's package menager.
Then simply run:
redis-server --port 9000 --daemonize yesnpm cinpm run devnpm run build