How tiagojafonso/guardioesgardunha2027 works
Guardiões da Gardunha 2027 is a static trail-challenge site. Participants register without an account, receive a personal code, submit GPX-based times, and view rankings; organizers approve entries and manage the challenge. The README documents trails with maps and GPX, private participant data, and periodic synchronization with an on-device cache. The excerpts show the adapter’s Supabase authentication, document API, and polling, and the core’s GPX and scoring functions. The app HTML and SQL schema were not sampled, so links to those capabilities are documented or left unverified.
Main entry points: app.html Challenge app · core.js GPX parsing · adapter.js Identity and codes · schema.sql Challenge database
Components 18
Challenge site
- Challenge app
src/app.html - Registration and codes
src/app.html - Entry approval
src/app.html - Trails and maps
src/app.html - GPX submissions
src/app.html - Rankings
src/app.html - Organizer area
src/app.html
Trail challenge
- GPX parsing
src/core.js - Segment times
src/core.js - Points and rankings
src/core.js
Browser services
- Identity and codes
src/adapter.js - Document API
src/adapter.js - Polling and cache
src/adapter.js - Supabase config
src/adapter.js
Supabase backend
- Supabase services
- Challenge database
supabase/schema.sql
Other components
- Participant
- Organizer
Connections 19
- Participant → Challenge app: uses
README.md - Organizer → Challenge app: uses
README.md - Challenge app → Registration and codes: offers
README.md - Challenge app → Entry approval: supports
README.md - Challenge app → Trails and maps: shows
README.md - Challenge app → GPX submissions: accepts
README.md - Challenge app → Rankings: shows
README.md - Challenge app → Organizer area: provides
README.md - GPX submissions → GPX parsing: processes
- GPX parsing → Segment times: detects
src/core.js - Segment times → Points and rankings: scores
src/core.js - Challenge app → Identity and codes: uses
- Challenge app → Document API: uses
- Supabase config → Supabase services: configures
src/adapter.js - Identity and codes → Supabase services: authenticates
src/adapter.js - Document API → Supabase services: reads and writes
src/adapter.js - Polling and cache → Supabase services: polls
src/adapter.js - Supabase services → Challenge database: stores data
README.md - Challenge app → Polling and cache: receives updates
README.md