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

[auth] Implement email account creation #10

Merged
merged 42 commits into from
Oct 7, 2023
Merged

Conversation

adityapawar1
Copy link
Collaborator

What's new in this PR

Added email sign-up and sign-in.
Added a page to allow users to edit their user data.

Relevant Links

https://supabase.com/docs/guides/getting-started/tutorials/with-expo-react-native?auth-store=async-storage#building-the-app

Notion Sprint Task

https://www.notion.so/calblueprint/auth-Implement-email-account-creation-5432fa5d56d54dcda906646ed449d9e7?pvs=4

Online sources

Related PRs

How to review

Sign up and verify email (the verify email link will redirect to a localhost site which will say it can't find the page, but before the redirect supabase verifies the email so don't worry about the localhost not found thing)
Use the input fields to update values and check supabase to see if the changes are reflected in the profiles table.

Next steps

Tests Performed, Edge Cases

Sign up and sign in, updating all fields in the database.

Screenshots

IMG_3002
IMG_3001

CC: @akshaynthakur

@akshaynthakur akshaynthakur changed the title Adi/email auth [auth] Implement email account creation Sep 29, 2023
Copy link
Collaborator

@akshaynthakur akshaynthakur left a comment

Choose a reason for hiding this comment

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

Overall really great work! Very impressed

.env.example Outdated Show resolved Hide resolved
src/lib/supabase.ts Outdated Show resolved Hide resolved
src/components/Account.tsx Show resolved Hide resolved
src/components/Account.tsx Outdated Show resolved Hide resolved
src/components/Account.tsx Outdated Show resolved Hide resolved
src/components/Account.tsx Outdated Show resolved Hide resolved
src/screens/LoginScreen.tsx Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/components/Login.tsx Outdated Show resolved Hide resolved
src/components/Account.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@sauhardjain sauhardjain left a comment

Choose a reason for hiding this comment

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

Really great work @adityapawar1! Appreciate the code comments, use of components, and generally good conventions. Left a few nits here and there but no major changes required.

I'd recommend adding a loading state for user feedback as one of the next steps.

src/components/Account.tsx Outdated Show resolved Hide resolved
src/components/UserStringInput.tsx Outdated Show resolved Hide resolved
src/screens/MyContent.tsx Outdated Show resolved Hide resolved
@adityapawar1
Copy link
Collaborator Author

@akshaynthakur could you also check the date thing on android? i tried downloading a simulator but i couldnt get it to work

Copy link
Collaborator

@akshaynthakur akshaynthakur left a comment

Choose a reason for hiding this comment

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

LGTM! Really great work on this PR!

@akshaynthakur akshaynthakur merged commit e30c936 into main Oct 7, 2023
2 checks passed
@akshaynthakur akshaynthakur deleted the adi/email-auth branch October 7, 2023 19:37
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