command to build docker image for mongodb
docker build ./ -t mongod:4.7-replset
command to run docker image for mongodb
docker run --name mongod-replset -p 27017:27017 mongod:4.7-replset
TO RUN THE PROJECT
To run the backend of the project
- run
cd backend - run
npm start - it will be running on
http://localhost:5000
To run the frontend of the project
- run
cd frontend - run
npm run dev - it will be running on
http://localhost:5173/