Intro-to-Data-APIs-JS icon indicating copy to clipboard operation
Intro-to-Data-APIs-JS copied to clipboard

Very Basic Authentication

Open joeyklee opened this issue 6 years ago • 0 comments

Hi Dan,

This is quite likely for another time, but I found that a lot of students generally are looking for some basic authentication. Express has a handy basic-express-auth library for handling simple authentication.

I made an example which "protects" an application with a simple username and password. The example shows what this looks like for NeDB and mongodb

https://github.com/joeyklee/very-basic-express-auth-example

This example pairs with this live coding video tutorial

  • https://youtu.be/kLv9J0KLeCQ

joeyklee avatar Mar 18 '19 13:03 joeyklee