How somunaexe/bulfighter works
Bulfighter is a React SPA for joining the show, completing consent, browsing video clips, and administering applicant, consent, and topic data. The primary public workflow collects an interest and uploads associated files; administrators can invite applicants to consent, and applicants validate the invite before submitting the consent form. Separate routes serve clips and admin pages. The README describes a serverless email backend, but its deployment wiring is not shown; backend links are therefore limited to documented capability. API endpoints and Lambda implementation details are only partially evidenced.
Main entry points: main.jsx Route dispatcher · Admin.jsx Admin workspace · http.js JSON fetch helper · interests.js Interest API
Components 19
Application routes
- Route dispatcher
src/main.jsx - Home page
src/App.jsx
Public experience
- Clip browser
src/sections/Clips.jsx - Join application
src/sections/Contact.jsx - Consent form
src/sections/ConsentForm.jsx
Administration
- Admin workspace
src/admin/Admin.jsx - Interest management
src/admin/Interests.jsx - Consent management
src/admin/Consents.jsx - Topic management
src/admin/Topics.jsx
API and backend
- Interest API
src/api/interests.js - Topic API
src/api/topics.js - Consent invite API
src/api/consentInvite.js - Consent API
src/api/consents.js - Admin auth API
src/api/adminAuth.js - JSON fetch helper
src/api/http.js - Serverless endpoints
- Consent email handler
src/backend/inviteToConsent.js
Other components
- Site visitor
- SMTP service
Connections 29
- Site visitor → Route dispatcher: opens site
src/main.jsx - Route dispatcher → Home page: routes to
src/main.jsx - Route dispatcher → Clip browser: routes to
src/main.jsx - Route dispatcher → Consent form: routes to
src/main.jsx - Route dispatcher → Admin workspace: routes to
src/main.jsx - Home page → Join application: renders
src/App.jsx - Clip browser → Topic API: loads topics
src/sections/Clips.jsx - Join application → Interest API: creates interest
src/sections/Contact.jsx - Consent form → Consent invite API: validates invite
src/sections/ConsentForm.jsx - Consent form → Consent API: submits consent
src/sections/ConsentForm.jsx - Admin workspace → Interest management: renders
src/admin/Admin.jsx - Admin workspace → Consent management: renders
src/admin/Admin.jsx - Admin workspace → Topic management: renders
src/admin/Admin.jsx - Admin workspace → Admin auth API: authenticates
src/admin/Admin.jsx - Interest management → Interest API: loads applicants
src/admin/Interests.jsx - Interest management → Consent invite API: sends invite
src/admin/Interests.jsx - Consent management → Consent API: manages consents
src/admin/Consents.jsx - Topic management → Topic API: manages topics
src/admin/Topics.jsx - Admin auth API → JSON fetch helper: uses fetch helper
src/api/adminAuth.js - Interest API → JSON fetch helper: uses fetch helper
src/api/interests.js - Topic API → JSON fetch helper: uses fetch helper
src/api/topics.js - Consent invite API → JSON fetch helper: uses fetch helper
src/api/consentInvite.js - Consent API → JSON fetch helper: uses fetch helper
src/api/consents.js - Interest API → Serverless endpoints: calls endpoint
src/api/interests.js - Topic API → Serverless endpoints: calls endpoint
src/api/topics.js - Consent invite API → Serverless endpoints: calls endpoint
src/api/consentInvite.js - Consent API → Serverless endpoints: calls endpoint
src/api/consents.js - Admin auth API → Serverless endpoints: calls endpoint
src/api/adminAuth.js - Consent email handler → SMTP service: sends email
README.md