A repo for my article on setting up Passport with Express
Ensure you have the following installed on your local machine:
-
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