Basic Auth. A working example of how to add username and password login to a Node.js app.

github.com/nilbuild/node-basic-auth-example

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

November 2022
  • Add youtube video link
September 2022
  • Fix error in middleware
  • Refactor middleware
  • Refactor middleware
  • Refactor middleware
  • Update the setup instructions
  • Update the setup instructions
  • Add sample implementation for basic authentication