Skip to content

User LogIn implementation #7

Description

@kelumsampath

need to implement following :

  1. email and password get by post request body
  2. check if there existing user for that email, if not send invalid user response
  3. retrieve user password from db , decryption and compare it. if not match send invalid user response
  4. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions