Local Development Setup
Disable Email Confirmation for Local Development
To allow instant signups without email confirmation when running locally:
Option 1: Supabase Dashboard (Recommended)
- Go to your Supabase project dashboard
- Navigate to Authentication > Settings
- Scroll down to Email Auth section
- Toggle OFF "Enable email confirmations"
- Save changes
Now users can sign up and immediately sign in without email confirmation.
Option 2: Auto-Confirmation via Backend (Automatic)
The app includes automatic user confirmation in development mode:
- When
NODE_ENV=development, the signup flow will attempt to auto-confirm users - Requires
SUPABASE_SERVICE_ROLE_KEYto be set in backend.env - Falls back gracefully if confirmation fails
Testing
After disabling email confirmation:
- Sign up with a new email
- You should be automatically signed in and redirected to dashboard
- No email confirmation needed!
Re-enable for Production
Important: Before deploying to production, make sure to:
- Re-enable email confirmations in Supabase dashboard
- Set
NODE_ENV=productionin your production environment - Configure proper email templates in Supabase
Other Local Development Tips
Supabase Local Development
You can also run Supabase locally using Docker:
# Install Supabase CLI
npm install -g supabase
# Start local Supabase
supabase start
This gives you a local Supabase instance without needing the cloud service.
Environment Variables
Make sure your .env.local (frontend) and .env (backend) files are set up correctly. See QUICKSTART.md for details.