Please make sure that docker is already installed in your machine and is running.
- Install dependencies
npm installNote: For Windows users: move into folder redis-pub-sub and websocket-server and run npm install
-
Create .env file in your root folder and add the Environment Variables listed in .env.example file
-
Run the development server:
npm run dev
# or
yarn dev- Run the websocket server:
npm run ws
# or
yarn ws- Run the pub-sub server:
npm run redis
# or
yarn redisIt will create a db schema and run the application, along with websocket server.
- Populate db with test data ( Note: the server has to be running to seed db)
npm run seed-db
Open http://localhost:3000 with your browser to see the result.
- Login: username: johndoe / tuberlin / max@trust-cv.de password: password
