1.5.0 • Published 3 years ago

node-user-management v1.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Node-Login-And-Registration-Management-Package

Class to help you create complete Login and Registration system in a couple lines of code.

In a couple of lines of code you have complete User Managment solution. From database initialization and collection creation to session generation and user managment in seconds.

Last version:

  • Start an instance of MongoDB and create collections
  • Generate session using default settings or your own settings
  • Verify if user is valid using username or session
  • Login and verifiy existing user
  • Register and add new user

Latest version:

  • Update user by passing users username or session
  • Delete user by passing users username or session

Before you start:

  • You need to pass only Joi.object({}) into class constructor
  • In Joi.object({}) you have to have 'username' and 'password' fields