Fallbackdatabase mode
campgrounds readable
checkingactive source
Readyhealth status
15-MINUTE SETUP

Connect the production services.

The package runs without credentials, while accounts, uploads, moderation and cloud-saved data activate after Supabase is configured.

1

Create Supabase project

Create a project, open SQL Editor, and run database/schema.sql.

2

Add environment variables

Copy .env.example to .env.local, then add the project URL, anon key, and service-role key.

3

Configure authentication

In Supabase Auth URL settings, add your local and production callback URLs. Enable email/password authentication.

4

Seed campground data

Run npm run seed:supabase. The script imports the package's campground and campsite records.

5

Create the first admin

Sign up once, then change that profile's role to admin in the Supabase table editor.

6

Build and deploy

Run npm run verify, then deploy to Vercel and add the same environment variables there.