Authentication System application based on Node JS and MongoDB.
How to Setup Project on local System
- First setup npm package using
npm init
- Install the required dependencies as mentioned below.Using
npm install
└── bcrypt@5.1.0
├── connect-flash@0.1.1
├── connect-mongo@5.0.0
├── cookie-parser@1.4.6
├── crypto@1.0.1
├── ejs@3.1.9
├── express-ejs-layouts@2.5.1
├── express-ejs@2.0.0
├── express-session@1.17.3
├── express@4.18.2
├── mongoose@7.3.0
├── nodemailer@6.9.3
├── nodemon@2.0.22
├── passport-google-oauth@2.0.0
├── passport-google-oauth2@0.2.0
├── passport-local@1.0.0
├── passport@0.6.0
└── redis@4.6.7 - Configure files
- config/database.js with your creds
- config/nodemailer with your creds
- config/passport_google_oauth2_strategy.js with your creds
- mailers/passmailer with your email template
- Run the server
nodemon index.js