Skip to content

georginapuig/authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication

Intro to Auth

What tools are we using?

  • Passport
  • Passport Local
  • Passport Local Mongoose

Walk through auth flow Discuss sessions

  • Express-Session

Auth CodeAlong Part 1

  • Set up folder structure
  • Install needed packages
  • Add root route and template
  • Add secret route and template

Auth CodeAlong Part 2

  • Create User model
  • Configure passport

Auth CodeAlong Part 3

  • Add Register routes
  • Add Register form

Auth CodeAlong Part 4

  • Add Login routes
  • Add Login form

Auth CodeAlong Part 5

  • Add Logout Route
  • Add isLoggedIn middleware