Page 12 of 17
Website architecture
The stack, the routes and what the server does.
Implemented
Stack
- Next.js 16 (App Router) and React 19.
- Three.js for the hill, written directly against the library. No game engine, physics engine or animation library.
- Zod to validate configuration, third-party responses and posted scores.
- No wallet library. Wallets are found through the Wallet Standard events browsers already carry, and signatures are checked with Node's built-in crypto.
Routes
/the hill and everything under it./docsthese pages, statically generated./api/tokenofficial token details plus cached public market data once a mint is configured./api/holderwhether one address holds the token./api/boardand/api/board/ticketthe weekly scores and the run tickets./api/healtha liveness check.
What the server keeps
One thing: the score board, which holds an address, a score, a piste and a time for each line. There are no accounts, no cookies and no analytics. Your checklist and personal best live in your own browser.
Configuration
Every official value (site URL, mint, social links) is read from environment variables in a single module and validated there. An empty or malformed value hides the related link rather than showing a placeholder.