cp db/conn.js.dist db/conn.js
Set correct login, password and db name
- Install MongoDB
- run in console
mongo
- Configuration from console mongo:
- Create new db:
$ use user
- Create login and password:
don't forget change password$ db.createUser({user:"admin", pwd:"admin", roles:[{role:"readWrite", db:"user"}]})
in root dir:
npm run start
cd client
npm run start