Settings
Environment configuration and system information
Google Gemini API Key
Powers the AI review generation engine
GEMINI_API_KEYin .env.localSet this environment variable to your Google AI Studio API key. The key is never exposed to the browser — it's only used in server-side API routes.
Domain & Routing
Multi-tenant subdomain configuration
adminAdmin Portal
https://reviewadmin.hanithgroup.com/Routes to /admin/* internally via middleware
publicPublic Review Portal
review.hanithgroup.comRoutes to /public/[businessSlug] internally
Local Development: Add
?portal=admin to any localhost URL to access the admin panel without DNS setup.Environment Variables
| Variable | Purpose | Required |
|---|---|---|
GEMINI_API_KEY | Google Gemini AI access | Yes |
DATABASE_URL | Database connection string | Yes |
ADMIN_SECRET | Admin panel access passcode | Optional |
NEXT_PUBLIC_BASE_URL | Public base URL for QR generation | Optional |
NEXT_PUBLIC_REVIEW_DOMAIN | Production review subdomain | Optional |
NEXT_PUBLIC_ADMIN_DOMAIN | Production admin subdomain | Optional |