Skip to content

Here is a simple Local Authentication USing Node,Express And Passport with Password Encryption Using BcryptJS...

Notifications You must be signed in to change notification settings

LOkn7630/nodejs_authentication

 
 

Repository files navigation

Node Passport Authentication

1. USAGE

        # Use your Own URI To Connect To Database
    $ npm install
    $ npm run dev

        # Visit http://localhost:5000

Packages

  1. Express
  2. ejs
  3. Mongoose
  4. BcryptJS
  5. passport
  6. passport-local
  7. express-session
  8. cookie-parser
  9. connect-flash
graph TD
A[Source Code] -->|Branched > ytsource | B(Source Code As In Youtube Video)
A --> C(Starter Kit)
Loading

Directory Structure

|   .gitignore
|   index.js
|   models.js
|   package-lock.json
|   package.json
|   README.md
|   routes.js
|
+---config
|       mongokey.js
|
\---views
    |   index.ejs
    |   login.ejs
    |   success.ejs
    |
    \---bare_templates
            login.html
            register.html
	npm cache verify
	npm cache clean --force (Optional)
	npm install
	npm start

TODO

  1. add login signup error message

About

Here is a simple Local Authentication USing Node,Express And Passport with Password Encryption Using BcryptJS...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%