How giavinh79/gymtrack works
Main System Components
a) Frontend Layer (React Application)
• Feature Modules (Authentication, Home, Exercise Details, Landing)
• Shared Components
• State Management (Redux Store)
• Routing Layer
• i18n System
b) Backend Integration
• Connection to the Spring Boot backend (external system)
• Firebase Authentication service
c) External Services
• Sentry (Error Tracking)
• Mixpanel (Analytics)
• Netlify (Hosting)
Component Relationships
a) Client-Side Flow:
User Interface → React Router → Feature Components → Redux Store ↔ RTK Query → API Calls
b) Data Flow:
Frontend ↔ Spring Boot API ↔ Database
Frontend ↔ Firebase Auth
Detailed Component Breakdown
Create sub-sections showing:
a) Feature Modules Organization:
• Authentication (login/signup modals)
• Home (routine management, visualization)
• Exercise Details
• Landing Page
b) State Management Layer:
• Redux Store
• Context Slice
• General Slice
• Modal Slice
• RTK Query Services
• Auth Service
• Exercise Service
• Routine Service
Technical Stack Indicators
• React.js with TypeScript
• Mantine UI Components
• Redux Toolkit & RTK Query
• i18next for internationalization
• Vite as build tool
Important Details
Annotations for:
• Protected vs Public routes
• Internationalization flow
• Error boundary implementation
• Modal management system
• Theme switching capability
Deployment Flow
A separate section showing:
• GitHub Actions CI/CD pipeline
• Netlify deployment process
• Environment configurations
Guidelines for Creation:
Creating separate views for
• High-level architecture
• Component interaction
• Data flow
• Deployment pipeline
Tools Recommendation:
Remember to emphasize:
• The separation of concerns in the feature-based architecture
• The role of RTK Query in data management
• The internationalization system's integration
• The authentication flow with Firebase
• The error handling and monitoring setup with Sentry