Lead-generation quiz platform for conference traffic, built with Next.js App Router, Tailwind CSS, Supabase, and Lucide icons.
- Create
.env.localwith:
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=-
Copy the values from
.env.exampleand fill in your Supabase project keys. -
Install dependencies:
npm install-
Apply the database schema from
supabase/schema.sql. -
Create at least one Supabase auth user for the admin login, then mark that user as an admin:
insert into public.admin_profiles (user_id, display_name, role)
values ('YOUR_AUTH_USER_UUID', 'Conference Admin', 'admin');- Run the app:
npm run devIf Supabase variables are missing, the app falls back to seeded demo data so the UI can still be reviewed locally.