Phase 3 of service consolidation (5→2 services). Moved modules: - items (16 tests) - comments (6 tests) - votes (5 tests) - public (16 tests) — rate-limited, no auth required Changes: - Copied 4 modules from tracker-service - Added DEFAULT_PRODUCT_ID alias in product-config.ts (Gap 1) - Created src/lib/auth.ts re-exporting extractAuth from @bytelyst/auth (Gap 2) - Added @bytelyst/auth and @fastify/rate-limit to package.json (Gap 2) - Registered itemRoutes, commentRoutes, voteRoutes, publicRoutes in server.ts - Public routes at top level (no auth scope) - Removed tracker-service directory Tests: 158 passing (115 + 43 from tracker = 158) ✅ Build: clean ✅ Service consolidation Phases 1-3 complete: - growth-service: merged ✅ - billing-service: merged ✅ - tracker-service: merged ✅ Remaining: 2 services (platform-service + extraction-service) |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||