Skip to content

A simple Auth application intended to allow users to sign up, login and sign out. No styling included. Used Node.js, Express.js, EmbeddedJS (EJS), MongoDB, Mongoose, Passport.js, Express-Session package and body-parser

Notifications You must be signed in to change notification settings

xjanus/Authentication-Demo-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication Application

A simple authentication application using Authentication Routes, Middleware, Dababase and Passport (Auth) packages without any CSS styling.

Coding Mechanism

  • Set up folder structure
  • Install needed packages
  • Add root route and template
  • Add secret route and template
  • Create User model
  • Configure passport
  • Add Register routes
  • Add Register form
  • Add Login routes
  • Add Login form
  • Add Logout Route
  • Add isLoggedIn middleware

Getting Started and Execution

  • The root page will provide options to SignUp, LogIn and SignOut.
  • SignUp by creating a username and password and SignOut and LogIn again.
  • Include all the dependencies from package.json file.
  • Now run node app.js from Cloud9 console.

Built With

Authors

Acknowledgments

  • Colt Steele's Bootcamp course

About

A simple Auth application intended to allow users to sign up, login and sign out. No styling included. Used Node.js, Express.js, EmbeddedJS (EJS), MongoDB, Mongoose, Passport.js, Express-Session package and body-parser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published