Auth-nodejs is a mini project, intended to sharp authentication skills of programmers. It uses level as the database and the console as the interface. The code should be clean, so it's easy to read and understand. Check it out!
$ git clone https://github.com/brenoh1ldebr4nd/auth-nodejs
$ cd auth-nodejs
$ npm install
$ node src/auth-nodejs-1.0.0.js
Version | Added Functionality |
---|---|
1.0.0 | Simplest authentication process ever. |
2.0.0 | Hashing |
3.0.0 | Salt |
4.0.0 | Bcrypt |
5.0.0 | Bcrypt Code Style |
6.0.0 | Pepper |
Go to the /src foder to find out each version or go to releases.
Remember to delete the database every time you test another version ( unexpected errors could occur ).
If you want to learn more about authentication and understand what exactly is each one of the above functionalities, check out the following resources:
- Check this out first, since it explains things step by step in a slideshow format and was my main reference while developing the project. Tutorial about secure password storing
- Next, if you want to dig deeper, this class will explore the topic broader, making great points about important aspects in user authentication processes. MIT Authentication Class - 2017
- And if you are focused on the web, this is a great and fast paced video! It also talks about cookies, sessions and all that great web stuff. Everything you ever wanted to know about authentication
And don't forget that the internet has a lot more resources, so keep exploring and try to give your users the best experience.