mongo:
To run the mongo instance locally, follow these steps:
- Navigate to the mongo folder of the project.
- Open the Docker program, and wait for it to be ready.
- Run the command
docker compose upto boot the images.
You can check the database at the following link: http://localhost:8081.
Server:
To run the server locally, follow these steps:
- Navigate to the server folder of the project.
- Run the command
npm installto install all the necessary dependencies. - Run the command
npm run buildto compile the Typescript code. - Finally, run the command
npm startto start the server.
The server will be listening at http://localhost:3000.
Client:
To run the client locally, follow these steps:
- Navigate to the client folder of the project.
- Run the command
npm installto install all the necessary dependencies. - Run the command
npm run devto start the client.
Each client instance that is launched will be given the URL in which it is running in the console.