- node 20.1.0
- pnpm 8.4.0
NB
: I use volta to manage node and pnpm versions.
NB
: Please also ditch using npm altogether, do use pnpm for god's sake.
Install node using volta:
volta install node@20.1.0
Install pnpm using volta:
volta install pnpm@8.4.0
Go to the root of the repository and run the following command:
pnpm --recursive install
Now you are ready to run the app.
- open two consoles ( one for the front-end and one for the back-end )
- in the front-end console navigate to the front-end directory
- in the back-end console navigate to the back-end/srv/WebsocketServer directory
- in the front-end console type
pnpm run dev
- in the back-end console type
pnpm run dev:server
NB
: please run the following commands from the root directory of this monorepo
./docker/.scripts/dockerize-front-end
./docker/.scripts/dockerize-back-end
./docker/bin/run-front-end
./docker/bin/run-back-end
now, open your web browser at http://localhost:3000/ to see how the front-end looks like.