Skip to content

Basic user email and password storage and hashing, verification backed by Knex compatible SQL DB.

Notifications You must be signed in to change notification settings

danpaul/sql_login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module is designed to be a simple back end component for user authentication but is considered incomplete on its own. The module requires intialization of a Knex object.

This module prvoides:

  • Basic user email and password storage, hashing and verification backed by knex compatible SQL DB (Postgres, MySQL, MariaDB, SQLite3).
  • User verification management (generates key to send to user and confirm once user clicks on link)
  • Password reset tokens

This module does not provide:

  • Session management.
  • Credential validation (i.e. email validation)

See test/test.js for usage example. Check out the code or message me if you have any questions.

About

Basic user email and password storage and hashing, verification backed by Knex compatible SQL DB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published