- node: v18+
- Make sure your
.envon bothclientandserverhas all necessary secrets - Run
docker-compose upfrom project root directory - Backend and Client now availabe on port 4000 and 8000 respectively
- Navigate to
client - Add
.envwith necessary secrets - Run
yarnornpm installto install necessary packages - Run
yarn devornpm run devto start development server
- Navigate to
server - Add
.envwith necessary secrets - Run
yarnornpm installto install necessary packages - Run
yarn devornpm run devto start development server
First of all login as superuser mongosh
- Create a new database (
eSandeshrecommended) 1.1use eSandesh - Create a proper user ('eSandesh' recommended) with proper role as
2.1
db.createUser({user: 'eSandesh', pwd: passwordPrompt(), roles: [{role: 'readWrite', db: 'eSandesh'}]}) - Enable
authorizationin/etc/mongodb.confunderSecurity - Then fill corresponding credentials in
.env


