/Secrets

Practice project to learn authentication basics in NodeJS. Technologies learnt - encryption(mongoose-encryption), environment variables, hashing(md5), salting(bcrypt), cookies(passport), google sign-in(OAuth2.0)

Primary LanguageEJS

Secrets

This is a practice project done to learn different levels of authentication in NodeJS web apps with MongoDB database.

Technologies used for authentication :-

  • Level 1 : Username and password
  • Level 2 : Encryption - Mongoose-encryption
  • Level 3 : Hashing with environment variables - MD5
  • Level 4 : Hashing + Salting - bcrypt
  • Level 5 : Hashing + Salting with Cookies - Passport
  • Level 6 : Sign-in with Google using OAuth2.0