Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backend] As a user, I can sign up with email and password #8

Open
phongvhd93 opened this issue May 31, 2023 · 0 comments
Open

[Backend] As a user, I can sign up with email and password #8

phongvhd93 opened this issue May 31, 2023 · 0 comments
Assignees
Milestone

Comments

@phongvhd93
Copy link
Owner

phongvhd93 commented May 31, 2023

Why

To interact with the application, users must sign in with their email and password.

Acceptance Criteria

  • Create a new endpoint: POST api/v1/sign_up
    • Create a table for storing user's information.
    • Validate the user's inputs (email format, password contain at least 8 characters).
    • Request body:
      {
           "email": "user's email",
           "password": "password",
           "password": "password confirmation",
           "client_id": "client id",
           "client_secret": "client secret"
      }
      
    • Success response with HTTP status code 201
  • Write tests
  • Handle errors

Resource

Image

@phongvhd93 phongvhd93 added 0.1.0 backend Backend story labels May 31, 2023
@phongvhd93 phongvhd93 added this to the 0.1.0 milestone May 31, 2023
@phongvhd93 phongvhd93 self-assigned this May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant