- Bcrypt
- Express
- Express-Session
- bcryptjs
- connect-flash
- method-override
- mongoose
- Clone this repository using git.
- Go to the app root directory
cd notes-app-mongodb
- Type and enter
npm install
- If all the modules was installed successfully, create the
.env
file copying the file.env.example
using this commandcp .env.example .env
- Edit the file using the parameters for your mongodb host and database.
Credits to @fazt-code: https://www.youtube.com/watch?v=GVfAPWLkk0M&list=PLo5lAe9kQrwqUEXK7oQbzv63KsdODzuAy