Getting Started

Set up Directory Pro in minutes. Extract, install dependencies, configure Supabase, and run your directory.

Quick Start

Get your directory up and running in 4 simple steps.

1. Extract & Install

cd directory-boilerplate
npm install

2. Set Up Supabase

  1. Create a new Supabase project at supabase.com
  2. In your Supabase dashboard, go to SQL Editor
  3. Copy and paste the contents of supabase/schema.sql
  4. Run the SQL to create all tables and policies

3. Configure Environment Variables

cp .env.example .env.local
# Edit .env.local with your Supabase credentials

Get 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.com

4. Run Development Server

npm run dev

Open localhost to see your directory!

Next Steps