RewardJar Setup

Configure your environment to get started with RewardJar

Environment Variables
Some required environment variables are missing.

Required Variables

NEXT_PUBLIC_SUPABASE_URL
Set
NEXT_PUBLIC_SUPABASE_ANON_KEY
Set

Optional Variables

BASE_URL
Set

Missing Required Variables

Please set the following environment variables:

  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
Quick Setup Guide
Follow these steps to configure your RewardJar application
1

Create Supabase Project

Go to supabase.com and create a new project.

2

Get API Keys

From your Supabase project dashboard, go to Settings → API to find your URL and keys.

3

Create Environment File

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
4

Set Up Database

Follow the SQL setup instructions to create your database schema.

Development Mode

You can still test the UI components without a Supabase connection, but authentication and data features will not work.