Creating a backend flow for user on-boarding and login
Apis to implement:
- /users/sendOTP : Send OTP to user and create a Db entry for the user
- /users/verifyOTP: Verify OTP valid for user
- /users/setPassword: Set Password for the user and from this point onward, number will be considered as registered
- /users/login: number,password authentication to return a rolling JWT token with status of User
- /users/personalInfo: Update personal info such as name,dob etc
- users/collegeInfo: Update College Information that is college name,branch etc