Skip to content

Feat: Add Superbase authentication to Signup and SignIn form#51

Open
MehakGo wants to merge 1 commit into
Muneerali199:mainfrom
MehakGo:feat-ADD-VALIDATION-AUTHENTICATION-SIGNUP-LOGIN
Open

Feat: Add Superbase authentication to Signup and SignIn form#51
MehakGo wants to merge 1 commit into
Muneerali199:mainfrom
MehakGo:feat-ADD-VALIDATION-AUTHENTICATION-SIGNUP-LOGIN

Conversation

@MehakGo

@MehakGo MehakGo commented Aug 24, 2025

Copy link
Copy Markdown

Description

This pull request resolves #30 by implementing Supabase authentication for the sign-up and sign-in forms. It also includes custom client-side validation to improve the user experience.

Changes Made

  • Supabase Integration: Integrated the Supabase client to handle user authentication.
  • Sign-Up Form: The sign-up form now uses supabase.auth.signUp() to create new users.
  • Sign-In Form: The sign-in form now uses supabase.auth.signInWithPassword() to authenticate existing users.
  • Custom Validation: Added real-time validation for the email and password fields to provide immediate feedback to the user.

Important Note for the Repository Owner

I have not used real Supabase credentials in this pull request. The Supabase URL and anonymous key are currently placeholders in the .env.example file.

To make this feature work, you will need to:

  1. Create a .env.local file in the thunder/frontend directory.

  2. Add your actual Supabase project URL and anonymous key to the .env.local file, like this:

    VITE_SUPABASE_URL=your-project-url
    VITE_SUPABASE_ANON_KEY=your-anon-key
    

How to Test

  1. Create and configure the .env.local file as described above.
  2. Navigate to the /auth page.
  3. Test the sign-up and sign-in forms with both valid and invalid data to verify that the validation

@vercel

vercel Bot commented Aug 24, 2025

Copy link
Copy Markdown

@MehakGo is attempting to deploy a commit to the muneerali199's projects Team on Vercel.

A member of the Team first needs to authorize it.

@MehakGo

MehakGo commented Aug 24, 2025

Copy link
Copy Markdown
Author

@Muneerali199 I have add superbase authetication , please review it and let me know if you need any change in it

@Muneerali199

Copy link
Copy Markdown
Owner

hey @MehakGo can you some demo by screenshot or video

@vercel

vercel Bot commented Aug 26, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
arcanecluster Ready Ready Preview Comment Aug 26, 2025 0:23am

@MehakGo

MehakGo commented Sep 5, 2025

Copy link
Copy Markdown
Author

@Muneerali199 Sorry for so late response , as i dont add real Supabase credentials , so its not fully functional , so can you tell you want code ss or something else?

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.

[FEATURE] Add Custom JS Form Validation to Sign in and sign up form

2 participants