Edge Sportsbook

Connecting...

Live Betting

Odds stream in over Server-Sent Events via Fastly Fanout. Click any line below to open the bet ticket and set your wager.

Loading games...

My Bets

Click any ticket to see the locked-in line and payout. Bets are priced at placement — later line movements never reprice them.

Admin Control

Seed Data populates the KV Store with sample games and odds. Clear All Data empties it. In local dev, the KV is auto-seeded on first page load.

Update Odds & Scores

Edit any line or live game score and click the update button (or press Enter) to write it to the KV Store and broadcast the change to every connected bettor.

Edge Activity

live trace of Compute handlers + Fanout publishes (newest first, last 25)
Waiting for activity… trigger an admin action to see it here.

What's happening behind the scenes

This page is the live X-ray of everything Fastly is doing for your browser tab. Every Compute handler invocation, every Fanout push, every KV Store read and write, every Config Store lookup — captured and replayed below. The Secret Store is intentionally invisible (that's the point).

Fanout
0
SSE events pushed to this tab
Compute
0
Edge handler invocations seen
KV Store
0
Writes broadcast since you opened this tab
Session
0s
Connected for

Edge State — what's in the stores right now

Live JSON of every store this service touches, except the Secret Store.
KV Store games key: all_games
KV Store odds key: all_odds
KV Store user_bets key: all_user_bets
Config Store teams key: all_teams
fanout_secrets (Secret Store) holds the Fastly API token used to talk to Fanout's publish API. It's available to the Compute handler via SecretStore.get(...).plaintext() but never serialized to the wire — so it doesn't appear here, and there is no endpoint that returns it. That's the Secret Store contract.

Session log — everything your tab said and heard

0 events · click any row to expand the raw payload
Session log is empty. Switch to the Dashboard tab and trigger an action, or just wait — every Fanout event lands here.