A React + Supabase demo application featuring:
- Supabase Authentication
- Single active session per user
- Login email notifications with Resend
- FreightSignal-inspired dashboard
- Secure login with session persistence
- Protected routes
- Automatic logout when another device logs in
- Login notifications with time, IP, location, and device details
- Real-time dashboard showing authentication and connection status
- React
- Supabase
- Tailwind CSS
- shadcn/ui
- Resend
- Configure your Supabase credentials in
.env. - Create a user in Supabase.
- Run the database migration.
- Deploy the Edge Functions.
- Start the app.
npm install
npm run devnpm run build