npm install mongoose-encryption
npm install dotenv
dotenv
Add this to top of app.js:
require('dotenv').config()
Create a .env file at top level of the project. Add environment variables on new lines in the form of NAME=VALUE.
Access with process.env.KEYNAME
npm i md5
md5
npm install bcrypt
bcrypt
npm install passport passport-local passport-local-mongoose express-session
Passport-google-oath20
mongoose-findorcreate
npm install passport-google-oauth20
npm install mongoose-findorcreate
Google API - credentials for testing Authorized JavaScript origin: http://localhost:3000 Authorized redirect URI: http://localhost:3000/auth/google/secrets