Tourism, history, and community website for seven Illinois counties along the Illinois/Mississippi River corridor: Adams, Pike, Brown, Schuyler, Calhoun, Scott, and Morgan.
- Framework: Next.js 16 (App Router)
- Database: Supabase (PostgreSQL + Auth + RLS)
- Styling: Tailwind CSS 4 + shadcn/ui
- Rich Text: Tiptap
- Maps: Leaflet + React Leaflet
- Email: Resend
- Images: Cloudinary
- Analytics: Vercel Analytics + Speed Insights
- Package Manager: pnpm
- Node.js 20+
- pnpm 10+
- A Supabase project (for database and auth)
Copy the example env file and fill in the values:
cp env.local.example .env.localRequired variables:
| Variable | Description |
|---|---|
NEXT_PUBLIC_SUPABASE_URL |
Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
Supabase anonymous key |
SUPABASE_SERVICE_ROLE_KEY |
Supabase service role key (server-only) |
RESEND_API_KEY |
Resend API key for emails |
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME |
Cloudinary cloud name |
CLOUDINARY_API_KEY |
Cloudinary API key |
CLOUDINARY_API_SECRET |
Cloudinary API secret |
NEXT_PUBLIC_SITE_URL |
Public site URL (also used for admin panel) |
pnpm install
pnpm devThe dev server starts at http://localhost:3000.
app/
(public)/ # Visitor-facing pages (homepage, counties, events, etc.)
admin/ # Admin panel (content management, dashboard)
layout.tsx # Root layout with fonts, theme, analytics
sitemap.ts # Dynamic sitemap generation
robots.ts # Robots.txt directives
components/
ui/ # shadcn/ui primitives
admin/ # Admin panel components
sections/ # Homepage sections
ads/ # Advertising components
lib/
counties.ts # County data and lookup
supabase/ # Supabase client utilities
placeholder-data.ts # Mock data for development
supabase/
schema.sql # Database schema
| Command | Description |
|---|---|
pnpm dev |
Start development server |
pnpm build |
Production build |
pnpm start |
Start production server |
pnpm lint |
Run ESLint |
Deploy to Vercel:
- Connect your GitHub repository to Vercel
- Set all environment variables in the Vercel dashboard
- Deploy
The admin panel is accessible at /admin on the same domain — no separate subdomain or DNS configuration needed.