A lightweight and reusable authentication context built with React and Supabase. This module abstracts the Supabase email/password auth flow using React Context, allowing developers to manage authentication state and user sessions efficiently throughout a React application.
This project provides a clean implementation of:
- Email/password sign-up and sign-in
- Authentication state management using React Context
- Automatic session handling with Supabase
- Functions for login, logout, and sign-up actions
⚠️ Note: Deployment is currently disabled.
To explore this project, please clone the repository and run it locally on your machine.
- Clone the repository.
- Install dependencies using
npm install
oryarn
. - Create a
.env
file and add your Supabase credentials: