Skip to content

supercede/passport-auth-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS (Express) Authentication with Passport

A repo for my article on setting up Passport with Express

Prerequisites

Ensure you have the following installed on your local machine:

Technologies Used

Installing/Running locally

  • Clone or fork repo

      - git clone <repo>
      - cd passport-auth-express
      - npm install
      - git checkout [your-desired-branch]
  • Create/configure .env environment with your credentials. A sample .env.example file has been provided to get you started. Make a duplicate of .env.example and rename to .env, then configure your credentials (ensure to provide the correct details).

  • Run npm run dev to start the server and watch for changes