Node Auth With Session

Just for my learging, and to share to someone else who'd like to try too, this is a basic node authentication, that make an user registration, that check if the user password is correct when required.

Using:

  • Node.js - Node.js® is a JavaScript Server Side runtime
  • npm - npm is the package manager for JavaScript
  • MongoDB - MongoDB is a NoSQL document database

Dependencies:

  • body-parser - Node.js body parsing middleware.
  • nodemon - automatically restart your server from file changes
  • express - Web framework for Node.js
  • mongoose - elegant mongodb object modeling for node.js
  • bcrypt - Lib to help you hash passwords.
  • express-session - Create a session middleware.
  • connect-mongo - MongoDB session store for Connect and Express

Versioning

  • Git - distributed version control system