How arn1986/race-wallet-pass works
This is a race-participant digital wallet pass platform: organizers manage event rosters and pass templates, participants retrieve and save Apple or Google Wallet passes, and organizers can update or revoke passes. The graph captures the React entry/navigation, major admin and public screens, Express service, persistence layer, and pass-generation helper. The Worker edge API and queue/storage capabilities are represented where shown; unsampled UI-to-API relationships and Worker integrations are omitted rather than inferred.
Main entry points: App.tsx App navigation · index.ts Worker API · PassLandingPage.tsx Pass landing · walletService.ts Pass generation
Components 21
Web application
- App navigation
src/App.tsx
Organizer tools
- Dashboard
src/components/admin/DashboardTab.tsx - Events and rosters
src/components/admin/RacesTab.tsx - Runner editor
src/components/admin/RunnerEditorModal.tsx - Roster import
src/components/admin/CsvUploaderTab.tsx - Pass templates
src/components/admin/TemplatesTab.tsx - Cloudflare console
src/components/admin/CloudflareConsoleTab.tsx
Participant passes
- Self-service lookup
src/components/public/LookupPage.tsx - Pass landing
src/components/public/PassLandingPage.tsx - Apple pass preview
src/components/public/AppleWalletPassCard.tsx - Google pass preview
src/components/public/GoogleWalletPassCard.tsx
Pass services
- HTTP workflows
server.ts - D1 data access
server/db.ts - Pass generation
server/walletService.ts
Edge runtime
- Worker API
worker/index.ts - Worker D1
worker/index.ts - Pass asset bucket
worker/index.ts - Pass queue
worker/index.ts
Other components
- Organizer
- Participant
- Wallet provider
Connections 19
- Organizer → App navigation: uses
src/App.tsx - Participant → App navigation: uses
- App navigation → Dashboard: renders
src/App.tsx - App navigation → Events and rosters: renders
src/App.tsx - App navigation → Pass templates: renders
src/App.tsx - App navigation → Roster import: renders
src/App.tsx - App navigation → Cloudflare console: renders
src/App.tsx - App navigation → Self-service lookup: renders
src/App.tsx - App navigation → Pass landing: renders
src/App.tsx - Events and rosters → Runner editor: uses
src/components/admin/RacesTab.tsx - Pass landing → Apple pass preview: renders
src/components/public/PassLandingPage.tsx - Pass landing → Google pass preview: renders
src/components/public/PassLandingPage.tsx - HTTP workflows → D1 data access: reads and writes
server.ts - HTTP workflows → Pass generation: generates pass
server.ts - Worker API → Worker D1: queries and updates
worker/index.ts - Worker API → Pass generation: generates pass
worker/index.ts - Worker API → Pass asset bucket: stores pass
worker/index.ts - Worker API → Pass queue: dispatches jobs
worker/index.ts - Pass generation → Wallet provider: requests bundle
server/walletService.ts