Quick Start
Get your directory up and running in 4 simple steps.
1. Extract & Install
cd directory-boilerplate
npm install2. Set Up Supabase
- Create a new Supabase project at supabase.com
- In your Supabase dashboard, go to SQL Editor
- Copy and paste the contents of
supabase/schema.sql - Run the SQL to create all tables and policies
3. Configure Environment Variables
cp .env.example .env.local
# Edit .env.local with your Supabase credentialsGet credentials from: Project Settings → API in Supabase dashboard
Required environment variables:
NEXT_PUBLIC_SUPABASE_URL=your-project-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXT_PUBLIC_ADMIN_EMAIL=your-email@example.com4. Run Development Server
npm run devOpen localhost to see your directory!