- 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")
-
Notifications
You must be signed in to change notification settings - Fork 0
mozahidahmed/Authenticaton_Authoraization_Custom
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published