How bosaj/les-ambassadeurs-web works
Les Ambassadeurs is a trilingual community platform for a humanitarian association. Visitors discover programs, events, news and branches, then can volunteer, register, or donate; authenticated volunteers use profile and activity dashboards, while administrators manage content and community operations. The map preserves the documented public, volunteer, donation, gallery and back-office capabilities, with authentication/data providers as an internal layer. Several page and integration details come from the README and source index rather than inspected implementation excerpts, so those relationships are cited as documented or omitted where wiring is unclear.
Main entry points: App.jsx Route application · supabase.js Supabase client · pages Public pages · VolunteerDashboard.jsx Volunteer dashboard
Components 23
Public experience
- Public pages
src/pages - Gallery
src/pages/GalleryPage.jsx - Branch map
src/components/BranchMap.jsx - Donation checkout
src/pages/Donate.jsx
Volunteer engagement
- Volunteer dashboard
src/pages/VolunteerDashboard.jsx - Gamification
src/components/GamificationHub.jsx - Points rules
src/lib/gamification.js - Membership renewal
src/components/MembershipRenewalModal.jsx
Administration
- Admin back-office
src/pages/AdminDashboard.jsx - Community management
src/components/admin/CommunityManagement.jsx - Gallery management
src/components/admin/GalleryManagement.jsx - Donation records
src/components/admin/DonationsList.jsx
Application platform
- Route application
src/App.jsx - Authentication
src/context/AuthContext.jsx - Shared data
src/context/DataContext.jsx - Supabase client
src/lib/supabase.js
External services
- Stripe integration
src/components/StripeCheckout.jsx
Other components
- Visitor
- Volunteer
- Administrator
- Stripe
- PayPal
- Supabase services
Connections 27
- Visitor → Route application: opens
src/App.jsx - Volunteer → Route application: opens
- Administrator → Route application: opens
- Route application → Public pages: routes to
src/App.jsx - Route application → Volunteer dashboard: routes to
src/App.jsx - Route application → Admin back-office: routes to
src/App.jsx - Public pages → Gallery: includes
- Public pages → Branch map: includes
- Public pages → Donation checkout: includes
src/App.jsx - Donation checkout → Stripe integration: uses
src/pages/Donate.jsx - Stripe integration → Stripe: processes payment
- Donation checkout → PayPal: offers checkout
- Authentication → Supabase client: uses
src/context/AuthContext.jsx - Shared data → Supabase client: uses
src/context/DataContext.jsx - Supabase client → Supabase services: connects to
- Volunteer dashboard → Shared data: reads data
src/pages/VolunteerDashboard.jsx - Volunteer dashboard → Membership renewal: opens renewal
src/pages/VolunteerDashboard.jsx - Volunteer dashboard → Gamification: links to
- Gamification → Points rules: uses rules
src/components/GamificationHub.jsx - Gamification → Supabase client: reads data
src/components/GamificationHub.jsx - Admin back-office → Community management: renders
src/pages/AdminDashboard.jsx - Admin back-office → Gallery management: renders
src/pages/AdminDashboard.jsx - Admin back-office → Donation records: renders
src/pages/AdminDashboard.jsx - Community management → Supabase client: reads data
src/components/admin/CommunityManagement.jsx - Gallery management → Supabase client: manages media
src/components/admin/GalleryManagement.jsx - Gallery management → Supabase services: uploads to storage
- Donation records → Shared data: reads data
src/components/admin/DonationsList.jsx