How ridham2808/ironcore_gym works
Main Components
a) Frontend Layer:
• React-based Vite application
• Key modules: Authentication, Pages (Home, Blog, Services, etc.), Components
• Design/CSS modules
• Asset management
b) Backend Layer (Microservices):
• Authentication Service
• Blogs Service
• Wellness Service (BMI Calculator & Diet Plans)
• Database connections
c) External Services:
• Render (Hosting platform)
• AI Service (for diet plans)
[Client Layer]
[API Gateway/Load Balancer]
[Backend Services Layer]
[Data Layer]
Detailed Component Breakdown
Frontend (Top Layer):
• Sub-components:
• Authentication Module (login.jsx, signup.jsx, etc.)
• Core Pages (Home, Blog, Services, etc.)
• Shared Components (Navbar, Footer)
• Asset Management
• State Management
API Gateway (Middle Layer):
• Routing to different microservices
• Security/authentication flow
Backend Services (Service Layer):
• Authentication Service:
• User Management
• JWT Authentication
• Password Reset Flow
• Blogs Service:
• Article Management
• Content Delivery
• Wellness Service:
• BMI Calculator
• Diet Plan Generator
• User Details Management
Database Layer:
• MongoDB Collections
• Data Models (User, Wellness, Blogs)
Connection Flows
• External service interactions (bold lines)
Additional Elements
• Error handling
• Caching mechanisms
• Security layers
• Load balancing
• Monitoring and logging