Backend for our whiteboard.
To build and run the server simply execute
docker compose up
or to run in background
docker compose up -d
Then you can stop the containers with
docker compose stop
See 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-check
To validate:
npm run lint-check
To run lint and fix:
npm run lint
To format:
npm run format
To check formating:
npm run format-check
Please 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 yes
npm ci
npm run dev
npm run build