protocoluser

0.0.4-a • Public • Published

Protocoluser

STATUS: Current in Development, unusable.

Node.js is currently in ascension and everyday someone have needs to create a login API and a user's management system, through databases and session managers. We know that Passport exists, although it's a lot complicated and itsn't simple. So I've taked the decision to start the development of a new and unique system to give these resources as all in one. Welcome to the Protocoluser, I'll show to you all about it.

Why 'Protocoluser'? It's because I see the process of security, care and management of users and sessions as a PROTOCOL (it need to folllow rules, hard defined instructions and need to have a good protection against attacks, i.e. SQL INJECTION).

The Basic

  • MySQL Pooled Connections
  • Made and last updated to Node.js 7.8.x
  • Autogeneration of needed MySQL tables
  • No required data (i.e. for users), you'll only use what you want
  • Authentication API integrated
  • Session Manager API integrated
  • RESTFUL API integrated (see notes)

Authentication API

Authentication API allows you to register users, authenticate then, generate sessions and etc. You have a large control about the user's informations and you only need to put what you want, columns support null values.

We also have plans to offer a integrated system to recover password through tokens and mail sending. In future we wanna integrate with Phone SMS systems too, if anyone have API to.


You'll able to:

  • Register new users and validate their email address
  • Authenticate then and generate sessions with data you want
  • Delete existent users as well you can only update their accounts
  • Impersonate: join in any user account through tokens
  • Recover your losted passwords (or username, email, etc)
  • Delete inactive accounts or turn these invisible from appear in the queries
  • Ban (or lock, you choose how to call) user accounts permanently or by time
  • Suggestions? PM me through snider@degiant.com.br or Telegram @Rynzerhold

We also have ALL needed endpoints done, but it's optional (if you have plans to use this with express, koa2, loopback or etc). If you wanna use it, you can; but if you wanna use your own, no one problem need to be expected. You're in control of all.

Session Manager API

We don't have any plans to reinvent the wheel.
  
We just pick some useful and powerful modules about sessions and changed what was needed to adapt it for us. We also integrated with MySQL Pooled Connections. I have plans to create a hook with the Redis system too in next releases, but not now.

Notes

If you wanna use the RESTFUL API, we offer a easy mode to do that: you'll just need to have Express, Koa2 or LoopBack (or any other from your personal preference).

Who am I?

My name is João Pedro Viana, also knowed as Rinzerhold or just Pitter. I'm 16 years old and I love to make softwares, since my 12 years old. I started learning about Java and today I have experience with 6+ programming languages. I'm from Brazil and I have experience with English and Espanhol too. I'll appreciate to talk with you, text me in Telegram @Rynzerhold

Donate

If you wanna support me, my PayPal is snider@degiant.com.br.

Package Sidebar

Install

npm i protocoluser

Weekly Downloads

0

Version

0.0.4-a

License

MIT

Last publish

Collaborators

  • rinzerhold