slice 1e-1f: tRPC router (auth + market.snapshot) + node:http server

auth.signup/login/logout/me with signed HMAC session cookies + scrypt hashing;
market.snapshot mega-endpoint (quote+candles+sector). node:http server mounts
tRPC at /api/trpc + /health + background drain loop. Live-verified: real NVDA
194.97/65 candles/Technology served after stale-while-revalidate drain. 36 tests green.
This commit is contained in:
Investor Flow Build
2026-06-29 17:40:42 -04:00
parent 1962ecc740
commit 82079b3e66
7 changed files with 349 additions and 5 deletions
+2 -1
View File
@@ -16,7 +16,8 @@
},
"dependencies": {
"@trpc/server": "^11.0.0",
"yahoo-finance2": "^3.15.3"
"yahoo-finance2": "^3.15.3",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^22.0.0",