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

Integrate the Registration Endpoint #32

Open
lskellerm opened this issue Aug 9, 2024 · 0 comments
Open

Integrate the Registration Endpoint #32

lskellerm opened this issue Aug 9, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lskellerm
Copy link
Owner

lskellerm commented Aug 9, 2024

  • The client-side registration form sends a POST request to the /auth/register endpoint on successful form submission.
  • Use the generated client in the registration form to submit data to the /auth/register endpoint.
  • The request payload includes Name, Email, Username, and Password, as per the pydantic schema.
  • Proper error handling is implemented for server-side errors.
  • The API response is processed and appropriate UI feedback is provided.

Part of #1

@lskellerm lskellerm added this to the Sprint 1: MVP Foundations milestone Aug 9, 2024
@lskellerm lskellerm self-assigned this Aug 9, 2024
@lskellerm lskellerm added the enhancement New feature or request label Aug 9, 2024
lskellerm added a commit that referenced this issue Sep 11, 2024
…Form

  - Added authRegistration client function to the submission handler function.
  - Displayed confirmation message upon successful registration.
  - Added navigation guard route middleware using useState composable to create state for tracking registration status, prevented explcit routing to success page
  - Implemented server-side submission error handing
  - Created type guards for Error response types for checking error respons types

  Closes #32
  Closes #33
  Closes #34

Finishes User Stories:
  - #3
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

When branches are created from issues, their pull requests are automatically linked.

1 participant