Golf analytics + content platform (Strik3Zone).
cp .env.example .env
docker compose --profile dev up --buildPowerShell:
Copy-Item .env.example .env
docker compose --profile dev up --build| Service | URL |
|---|---|
| Frontend | http://localhost:5173 |
| Backend | http://localhost:8000 |
| Health | http://localhost:8000/health |
| GraphQL | http://localhost:8000/graphql |
After starting the stack, run the verification script to confirm all services are healthy:
bash Scripts/verify.shTo verify the production profile:
bash Scripts/verify.sh --profile prodThe script performs 10 checks and prints a structured health report:
CADDY STATS — SYSTEM HEALTH REPORT
Docker: PASS
Postgres: PASS
Backend API: PASS
GraphQL: PASS
Health Endpoint: PASS
Frontend: PASS
Database Schema: PASS
Port Conflicts: PASS
API → DB Query: PASS
GraphQL → DB Query: PASS
OVERALL STATUS: HEALTHY
Exit code is 0 when all checks pass, non-zero on any failure.
Postgres uses one database with two schemas:
content— site content, editor, users, postsstats— golf analytics tables, projections, models