Skip to content

CodingForProduct/demo-express-lowdb-passport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express + lowdb + Passport

Demo app done in Express, lowdb, and Passport.

  • lowdb is a small local JSON database
  • Passport is authentication library

Setup

Requirements: Node

  1. clone repo

  2. install packages

$ npm install
  1. set up enviroment variables
  • copy .env.sample, and rename it .env
  • fill in the SESSION_SECRET

Start application

$ npm run dev

Step-by-step Walkthrough

Step-by-step video walkthrough that explains how the app works.

I've also created a separate branch for each commit. To see the code for a particular step:

$ git checkout step_xxx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published