# ============================================================================= # Analytics Feature Services # ============================================================================= # Website analytics for transquinnftw.com — dashboard frontend + backend API (BFF). # - Tracking (/track/*) relayed to collector (or via quinn-api public analytics relay). # - Query side: BFF now calls quinn-api (which serves /analytics/* queries directly # against the prod lilith_analytics DB — no separate query API, no dev DB). feature: id: user-data name: User Data description: Website analytics dashboard and event ingestion for transquinnftw.com owner: quinn ports: website-backend-users: 4005 website-frontend-users: 5122 services: - id: website-backend-users name: Website Analytics API type: api port: 4005 entrypoint: codebase/@features/user-data/website-backend-users startCommand: bun run dev description: | BFF for website analytics. Tracking to collector; queries go to quinn-api (prod lilith_analytics DB, both dev and prod). healthCheck: type: http path: /health dependencies: - analytics.infrastructure - id: website-frontend-users name: Website Analytics Dashboard type: frontend port: 5122 entrypoint: codebase/@features/user-data/website-frontend-users startCommand: bun run dev description: Dashboard for viewing transquinnftw.com analytics — pageviews, traffic, audience, funnels healthCheck: type: http path: / dependencies: - analytics.website-backend-users deployments: dev: host: apricot domain: analytics.quinn.apricot.lan production: host: vps-0 domain: data.transquinnftw.com