Skip to content

Conversation

@nourshoreibah
Copy link

ℹ️ Issue
Closes https://www.notion.so/mahekagg/GI-78-Connect-register-page-to-auth-endpoint-1998b3e6836e80ddb668e27a08bf28f0?pvs=4

📝 Description

  • Added auth and user DTOs to frontend
  • Linked signup page with auth/signup endpoint (using user endpoint to verify user id and email match first)

Notes:
The backend endpoint is missing some important features, like telling the frontend if a user enters an invalid password or if an account exists. It's missing error handling.

Verification
Completed a successful signup using a mock user
Screenshot 2025-03-20 at 4 26 01 PM
Screenshot 2025-03-20 at 4 26 07 PM

@@ -0,0 +1,4 @@
export type SignUpDto = {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be a good idea to create a new folder at the apps directory which will house anything that both the frontend and backend need to share like DTOs. This is so that we can avoid repeated code.

Again, definitely don't need to do this in this PR. Just leaving this so we know for the future!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll probably wait on this one just so I can pull before I rewrite the imports on all the files!

@hams7504
Copy link

hams7504 commented Apr 9, 2025

Works great, thank you!!

Checked that a new user was created in Cognito:
image
image

Just need to resolve the comments + resolve any conflicts!

@hams7504
Copy link

looks good, just one more conflict!

@nourshoreibah nourshoreibah merged commit c8a2b46 into main Apr 15, 2025
3 checks passed
@nourshoreibah nourshoreibah deleted the ns-link-signup-form branch April 15, 2025 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants