From 29182a5621ad38519c6b68104423d84300c7a12a Mon Sep 17 00:00:00 2001 From: Pavan Gandhi Date: Tue, 1 Sep 2020 12:37:11 +0530 Subject: [PATCH] docs update --- README.md | 6 +++--- config/passport.js | 2 +- config/passportLocal.js | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f0420c4..d8fec06 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ - [GMAIL API Credentials](https://www.woolha.com/tutorials/node-js-send-email-using-gmail-with-nodemailer-oauth-2) - [Stripe Payment Gateway Keys](https://stripe.com/) -### config.env format +### Check config.env format ```bash PORT = XXXX @@ -93,8 +93,8 @@ npm run dev . ├── 📁 .github # Github files (don't change) - ├── 📁 config # Config files - ├── 📁 helpers # Helper on controller files + ├── 📁 config # Configuration files + ├── 📁 helpers # Helper or Controller files ├── 📁 middleware # Expresss middlewares ├── 📁 models # Mongoose models ├── 📁 project-plan # Project planning files diff --git a/config/passport.js b/config/passport.js index 3ace09d..80103c4 100644 --- a/config/passport.js +++ b/config/passport.js @@ -1,4 +1,4 @@ -// Passport Google OAuth 2.0 Strategy +// Passport Google OAuth2 Strategy const GoogleStrategy = require("passport-google-oauth20").Strategy; const mongoose = require("mongoose"); diff --git a/config/passportLocal.js b/config/passportLocal.js index 2b69e93..d41588d 100644 --- a/config/passportLocal.js +++ b/config/passportLocal.js @@ -1,3 +1,5 @@ +// Passport Local Strategy + const LocalStrategy = require("passport-local").Strategy; const bcrypt = require("bcryptjs");