npm install
npm run dev
if you want to use your own local MongoDB you should change the code in database.js archive into config folder.
mongoose.connect('mongodb+srv://root:[email protected]/test?retryWrites=true&w=majority', {
useCreateIndex: true,
useNewUrlParser: true,
useUnifiedTopology: true
})
You should login as admin in order to have full access.
- User: admin
- Email: [email protected]
- Password: admin
Into MongoDB database you should change the value of the property
"admin": true
His default value is false for new users.