Scaffold Regress: Fastify+SQLite server and Vue frontend for the Ingress-style BTC Map capture game
- Server: NIP-98 nostr auth (session cookies), BTC Map sync, claim/link/field routes, physical-presence checks via geolocation distance. 31 tests passing. - Frontend: Leaflet map, team pick, claim/link UI, Archipelago identity bridge vendored (nostr-provider.js) for dashboard launch support. - Verified end-to-end against the live BTC Map API (167 real Madeira places) and via genuine NIP-98-signed HTTP requests against the built app.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Hostname or IP your users will reach this box on (no scheme, no port)
|
||||
PUBLIC_HOST=localhost
|
||||
|
||||
# Where the Regress UI/API is reachable from browsers
|
||||
PUBLIC_URL=http://${PUBLIC_HOST}:8096
|
||||
|
||||
# How close (meters) a player must physically be to a place to claim it or
|
||||
# link from it. Mirrors Ingress's "you must be at the portal" rule.
|
||||
CLAIM_RADIUS_METERS=40
|
||||
|
||||
# BTC Map sync area — defaults to Madeira, Portugal (Funchal-centered).
|
||||
# See DESIGN.md for why this scope was chosen first.
|
||||
BTCMAP_CENTER_LAT=32.7607
|
||||
BTCMAP_CENTER_LON=-16.9595
|
||||
BTCMAP_RADIUS_KM=45
|
||||
Reference in New Issue
Block a user