cp .env-example .env
node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"
Run mongosh
and create a new database
use aug8
db.createUser( { user: "manager", pwd: passwordPrompt(), roles: [ { role: "dbOwner", db: "aug8" }] })
Add user
and password
to the .env
file