need to implement following :
- email and password get by post request body
- check if there existing user for that email, if not send invalid user response
- retrieve user password from db , decryption and compare it. if not match send invalid user response
- generate token for user and send with success response
every response type should as follow :
{status:true/false (required) ,massage:"" (required) ,data:{} (optional) }
status true if process successfully done.
need to implement following :
every response type should as follow :
{status:true/false (required) ,massage:"" (required) ,data:{} (optional) }
status true if process successfully done.