How zepter75013/samparis12 works
SAM Paris 12 is a club website with a public presentation and payment path, plus a member portal implemented in the codebase. The public journey runs from site entry through the routed home page; visitors can proceed to the external payment form. Member login and dashboard features use a shared API client and a Go HTTP backend. The README documents MySQL use and several retained API endpoints. Backend domain wiring is not visible in the supplied excerpts, so those internal relationships are omitted rather than inferred.
Main entry points: App.jsx React routes · Dashboard.jsx Member dashboard · api.js API client · Login.jsx Member login
Components 27
Web experience
- React routes
frontend/src/App.jsx - Club home
frontend/src/pages/Home.jsx - Site navigation
frontend/src/components/Header.jsx - Partner footer
frontend/src/components/Footer.jsx - Fetch state
frontend/src/lib/useFetch.js - Payment form
frontend/src/pages/Paiement.jsx
Member portal
- Member login
frontend/src/pages/adherent/Login.jsx - Member dashboard
frontend/src/pages/adherent/Dashboard.jsx - Session token
frontend/src/lib/session.js - About content
frontend/src/components/AboutContent.jsx - API client
frontend/src/lib/api.js
Backend API
- Go HTTP API
backend/internal/httpapi/router.go - Configuration
backend/internal/config/config.go - Contact endpoint
backend/internal/contact/contact.go - Events endpoint
backend/internal/event/event.go - Groups endpoint
backend/internal/group/group.go - News endpoint
backend/internal/news/news.go - Partners endpoint
backend/internal/partner/partner.go - Member management
backend/internal/member/member.go - Member authentication
backend/internal/member/auth.go - Race management
backend/internal/race/race.go - Document management
backend/internal/document/document.go - Email delivery
backend/internal/mailer/mailer.go
Persistence and services
- MySQL
backend/internal/db/db.go
Other components
- Visitor
- Sherlocks LCL
- Email service
Connections 19
- Visitor → React routes: opens site
README.md - React routes → Club home: routes to
frontend/src/App.jsx - React routes → Site navigation: renders
frontend/src/App.jsx - React routes → Partner footer: renders
frontend/src/App.jsx - Visitor → Payment form: chooses payment
- React routes → Payment form: routes to
frontend/src/App.jsx - Payment form → Sherlocks LCL: posts payment
frontend/src/pages/Paiement.jsx - Partner footer → Fetch state: loads data
frontend/src/components/Footer.jsx - Fetch state → API client: runs request
frontend/src/components/Footer.jsx - Member login → API client: authenticates
frontend/src/pages/adherent/Login.jsx - Member login → Session token: stores token
frontend/src/pages/adherent/Login.jsx - React routes → Member login: routes to
frontend/src/App.jsx - React routes → Member dashboard: routes to
frontend/src/App.jsx - Member dashboard → API client: uses API
frontend/src/pages/adherent/Dashboard.jsx - Member dashboard → Session token: reads token
frontend/src/pages/adherent/Dashboard.jsx - Member dashboard → About content: renders
frontend/src/pages/adherent/Dashboard.jsx - API client → Go HTTP API: sends API requests
README.md - Go HTTP API → MySQL: uses MySQL
README.md - Visitor → Email service: emails club