2026-05-14 22:44:14 -07:00
|
|
|
# =============================================================================
|
|
|
|
|
# Analytics Feature Services
|
|
|
|
|
# =============================================================================
|
2026-06-10 21:33:02 -07:00
|
|
|
# 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).
|
2026-05-14 22:44:14 -07:00
|
|
|
|
|
|
|
|
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: |
|
2026-06-10 21:33:02 -07:00
|
|
|
BFF for website analytics. Tracking to collector; queries go to quinn-api
|
|
|
|
|
(prod lilith_analytics DB, both dev and prod).
|
2026-05-14 22:44:14 -07:00
|
|
|
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
|
2026-05-15 22:08:06 -07:00
|
|
|
domain: analytics.quinn.apricot.lan
|
2026-05-14 22:44:14 -07:00
|
|
|
production:
|
|
|
|
|
host: vps-0
|
|
|
|
|
domain: data.transquinnftw.com
|