Skip to content

mozahidahmed/Authenticaton_Authoraization_Custom

Repository files navigation

  • 1)Schema design Product file
  • Hide/# password bcryptjs
  • 2)services || Controller || router
  • 3)SignUp
  • Just post
  • 4)Login
  • Check if Email and password are given
  • Load user with email
  • if not user send res
  • compare password
  • if password not correct send res
  • check if user is active
  • if not active send res
  • 5)Reload problem
  • generate token
  • send user and toke
  • 6)Authorization
  • Create a function
  • Router a Authorization("admin")

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published