Add dd0c/route project scaffolding: migrations, docker-compose, README

- PostgreSQL schema: orgs, users, api_keys, provider_configs, routing_rules, cost_tables, feature_flags
- TimescaleDB schema: request_events hypertable, hourly/daily continuous aggregates, compression, retention
- docker-compose.yml: postgres, timescaledb, redis for local dev
- README with quick start, architecture overview, pricing tiers
- .env.example, .gitignore
This commit is contained in:
2026-03-01 02:29:23 +00:00
parent 72a0f26a7b
commit 311a834228
6 changed files with 316 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
DATABASE_URL=postgres://dd0c:dd0c@localhost:5432/dd0c
TIMESCALE_URL=postgres://dd0c:dd0c@localhost:5433/dd0c_telemetry
REDIS_URL=redis://localhost:6379
JWT_SECRET=dev-secret-change-me-in-production
PROXY_PORT=8080
API_PORT=3000
AUTH_MODE=local
GOVERNANCE_MODE=audit
TELEMETRY_CHANNEL_SIZE=1000
# Provider keys (add yours)
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=sk-ant-...