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

[api] /users API - v0.1.0 #5

Closed
2 tasks done
championswimmer opened this issue Nov 1, 2023 · 5 comments
Closed
2 tasks done

[api] /users API - v0.1.0 #5

championswimmer opened this issue Nov 1, 2023 · 5 comments
Labels
feature lang: go Issues with this label will require coding in Golang

Comments

@championswimmer
Copy link
Owner

championswimmer commented Nov 1, 2023

Subtasks

@championswimmer championswimmer converted this from a draft issue Nov 1, 2023
@championswimmer championswimmer added feature lang: go Issues with this label will require coding in Golang labels Nov 1, 2023
@amsanket22
Copy link

are we handling 422(unprocessable entity) here?

need to add backend validations - username should be in email format, password should be more than 6 and both fields should be mandatory

@amsanket22
Copy link

and email should be unique

@amsanket22
Copy link

some of these I can see on PR already

@championswimmer
Copy link
Owner Author

@amsanket22 yes all proper HTTP codes. 409 for conflict (unique email violation), and 422 for unprocessable (any parsing error in the body), 400 for everything else

@championswimmer championswimmer moved this from Todo to Done in OnePixel Jan 26, 2024
@championswimmer
Copy link
Owner Author

this is done now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature lang: go Issues with this label will require coding in Golang
Projects
Status: Done
Development

No branches or pull requests

2 participants