This project is a monorepo containing both the backend and frontend.
to perform the project setup please execute this command in your terminal
yarn
- make sure you have docker installed.
Make sure you have docker running. Execute this command in the backend folder to setup mongodb in docker
yarn db:start
verify that your docker container for mongodb is running correctly.
Next, make sure you add the following config to your hosts file
127.0.0.1 mongo0
127.0.0.1 mongo1
127.0.0.1 mongo2
this is to make sure you have access to mongodb locally.
if everything is good, you should be able to access your database using MongoDB compass.
generate certificates using the script cert.generate.sh
in scripts folder.
verify that you can run the backend using the command
yarn dev
if all went well, you should have your backend server running correctly