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

[Feat] Implement POST /users/sign-up #11

Open
JonghunYu opened this issue Mar 5, 2024 · 0 comments
Open

[Feat] Implement POST /users/sign-up #11

JonghunYu opened this issue Mar 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JonghunYu
Copy link
Contributor

JonghunYu commented Mar 5, 2024

Is your feature request related to a problem? Please describe.

  • We need to add new endpoint for user sign-up
  • We have to store the password as a hash string so we can't revert back to plain password but we can still verify the password

Describe the solution you'd like

  • Implement new POST /users/sign-up endpoint and remove existing POST /users endpoint
  • Input / output parameters would be as below, the jwt token can be generated by UserService
IN/OUT Field Type Description
IN email string email address
IN password string user's password
OUT message string response message
OUT token string JWT token

Additional context

@JonghunYu JonghunYu added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant