A simple User Authentication setup using NodeJS, express and passport with MongoDB (Atlas). Allows users to register and log in with Validation.
- Go to https://www.mongodb.com/cloud/atlas
- Sign up for free Account
- Create a new cluster
- Under security, create a new DB account (read and write to any account)
- Once cluster us set up, click connect and choose to connect to application via a string
- Paste the string into MongoURI in config/keys.js
- Replace the password with your MongoDB atlas password.
- If you commit your files make sure to remove sensitive data *