Configure your environment to get started with RewardJar
Please set the following environment variables:
Go to supabase.com and create a new project.
From your Supabase project dashboard, go to Settings → API to find your URL and keys.
Create a .env.local
file in your project root:
# Required - Get these from your Supabase project settings NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key_here SUPABASE_SERVICE_ROLE_KEY=your_service_role_key_here # Optional - For development BASE_URL=http://localhost:3000
You can still test the UI components without a Supabase connection, but authentication and data features will not work.