StatsHub Docs

Overview

The previous Next.js app. Being replaced, excluded from dev, and not documented beyond this page.

apps/web-legacy is the Next.js app that web and api are replacing. It still serves 218 route files under src/pages/api, and it is still the reference the Go port is checked against.

bun run dev:web-legacy     # http://localhost:3000
Next.jsPages RouterReactTypeScriptDrizzleschema and queriesPostgreSQLRadix UITailwind CSSStripe

What it still does

The routes not handed over yet

/league, /leagues, /previews and /basketball. Those four are listed in LEGACY_ROUTES in web's next.config.js, which rewrites them here — removing an entry there is what retires a route.

218 API route files

Under src/pages/api, still the only implementation of some of them, and still the thing every ported Go handler is measured against.

Why it is still here

Excluded from bun run dev on purpose

New work belongs in web or api. This app is documented no further than this page.

On this page