Add complete production-ready Ysterbaard PocketBase registry browser frontend: - Next.js 14 App Router with TypeScript, Tailwind CSS, and TanStack React Query - Secure server-side PocketBase API proxy to avoid exposing superuser tokens - Read-only directors and companies registry browse pages with search, filtering, and pagination - Client onboarding workflow for creating and managing client submissions - Docker container configuration for easy deployment - All supporting UI components, utility functions, and configuration files
10 lines
440 B
Text
10 lines
440 B
Text
# Copy this file to .env.local and fill in the real values.
|
|
# NEVER commit .env.local — it is in .gitignore.
|
|
|
|
# Source PocketBase URL (browser-internal, not exposed)
|
|
PB_URL=https://pb.agent.apphub.co.za
|
|
|
|
# Superuser JWT pulled from admin UI localStorage.
|
|
# Run in DevTools while logged into https://pb.agent.apphub.co.za/_/ :
|
|
# localStorage.getItem('__pb_superusers__/_').match(/"token":"([^"]+)"/)[1]
|
|
PB_TOKEN=PASTE_SUPERUSER_JWT_HERE
|