Setup Required

Directory Framework

A config-driven niche directory platform

Getting Started
Follow these steps to set up your directory site

Configure Database

Set up your Postgres connection string in .env

DATABASE_URL=postgresql://...

Push Schema

Run Prisma migration to create database tables

pnpm db:push

Seed Data

Import sample data from the intake folder

pnpm db:seed

Ready to Go

Your directory site is ready to use

pnpm dev

Sample data is included in the /intake folder.

The seed script will create a Mobile Pet Groomers directory for Florida.

Project Structure
/intake
├── sites/               # Site configuration
├── locations/           # States, regions, cities
├── listings/            # Sample listings
├── filters/             # Filter definitions
├── ads/                 # Ad slot configurations
├── categories/          # Category definitions
└── editorial/           # FAQs and pages

/app
├── page.tsx             # Homepage
├── [stateSlug]/         # State browse
│   └── [regionSlug]/    # Region browse
│       └── [citySlug]/  # City browse
├── listing/[slug]/      # Listing detail
└── search/              # Search with filters

/prisma
└── schema.prisma        # Database schema