TF2 statistics — successor to style.tf. See PLAN.md for the
full architecture, verified Steam API research, and staged roadmap.
apps/web— TanStack Start site (Vercel; ISR on stat pages)apps/crawler— Bun crawler (Docker on the VPS)packages/db— Drizzle schema + Postgres clientpackages/steam— typed, zod-validated, rate-limited Steam Web API clientpackages/tf2-schema— TF2 item schema sync
bun install
docker compose -f docker-compose.dev.yml up -d # local postgres
cp .env.example .env # add your STEAM_API_KEY
bun run --cwd packages/db generate # generate migrations
bun run --cwd packages/db migrate
bun run --cwd apps/crawler sync-schema # populate item_schema
bun run --cwd apps/crawler seed <steamid64> # seed the frontier
bun run dev # turbo: web + crawlerChecks: bun run typecheck (tsgo), bun run lint (oxlint), bun run fmt (oxfmt).
- Web: Vercel, root directory
apps/web(framework: TanStack Start/Vite). - Crawler + Postgres:
docker compose up -d --buildon the VPS with.envset.