How 24heuresinsa/overrun-frontend works
Project Type Analysis
This is a Vue.js-based admin dashboard application with TypeScript support, featuring user management, athlete tracking, race management, and payment processing capabilities.
Main Components
A. Client-Side Architecture (Primary Focus):
• Vue.js Frontend Application
• Vuex Store (State Management)
• Vue Router
• Axios HTTP Client
B. Core Feature Modules:
1. Authentication Module
2. Admin Management Module
3. Athletes Management Module
4. Race Management Module
5. Payment Processing Module
6. Certificate Management Module
┌─────────────────────────────────────────────────────────┐
• Vue.js Frontend │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• TopBar │ │ SideBar │ │ Router │ │
• ┘ └─────────────┘ └─────────────┘ │
• ┌─────────────────────────────────────────────────┐ │
• Main Content │ │
• ┌───────────┐ ┌───────────┐ ┌───────────┐ │ │
• Dashboard │ │ Athletes │ │ Races │ │ │
• ┘ └───────────┘ └───────────┘ │ │
• ┌───────────┐ ┌───────────┐ ┌───────────┐ │ │
• Payments │ │ Categories│ │Disciplines│ │ │
• ┘ └───────────┘ └───────────┘ │ │
• ┘ │
• ┌─────────────────────────────────────────────────┐ │
• Vuex Store │ │
• ┌───────────┐ ┌───────────┐ ┌───────────┐ │ │
• Auth │ │ Editions │ │Certificates│ │ │
• ┘ └───────────┘ └───────────┘ │ │
• ┘ │
• ┘
Connection Types
• Double lines: API communications
Key Elements to Highlight
a. Core Infrastructure:
• Vue Router configuration (src/router/index.ts)
• Vuex Store modules (src/store/modules/*)
• Axios HTTP client setup (src/axios.ts)
b. Feature Modules:
• Authentication (Login component and auth store module)
• Admin Management (AdminInvite and Admins views)
• Athletes Management (Athletes and AthleteDetails views)
• Race Management (Races and RaceDetails views)
• Payment Processing (Payments and PaymentDetails views)
c. Shared Components:
• Modal components (src/components/modals/*)
• Chart components (src/components/charts/*)
• Certificate handling (src/components/CertificateModal/*)
Implementation Notes
• Maintain a clear hierarchy of components
• Notes for important configuration files (tsconfig.json, vue.config.js)
• Relationship with the backend API (indicated by the axios.ts configuration)