create a new file with name nodemon.json with following: { "env": { "MONGO_USER": "Your mongo user name", "MONGO_PASSWORD": "mongo cluster password" } }