Skip to content

M0hdF41Z4N/Authentication-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication-System

Authentication System application based on Node JS and MongoDB.

How to Setup Project on local System

  1. First setup npm package using npm init
  2. 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
  3. Configure files
  4. config/database.js with your creds
  5. config/nodemailer with your creds
  6. config/passport_google_oauth2_strategy.js with your creds
  7. mailers/passmailer with your email template
  8. Run the server nodemon index.js