How s2ggolge/fitnes-pro works
Gym Pro is a fitness and social application backed by an ASP.NET API and browser JavaScript. Users authenticate and complete onboarding, then use social, messaging, maps, and fitness-facing UI features; admins manage accounts, bans, and logs. The tree documents major frontend capabilities, but the README is empty and most endpoint wiring and domain implementations were not sampled. Edges below therefore focus on directly evidenced calls, with selected documented-by-tree capabilities shown without speculative connections.
Main entry points: Program.cs ASP.NET API · LoginService.cs Login and onboarding · BanStorageService.cs Ban and appeals · AdminBanAppealController.cs Admin appeal review
Components 25
Web client
- Fitness UI
Fronted/JavaScripts/UI/Goals.js - Authentication UI
Fronted/JavaScripts/Core/auth.js - Maps UI
Fronted/JavaScripts/UI/Haritalar.js - Workout UI
Fronted/JavaScripts/UI/Workouts.js
Identity and safety
- Login endpoint
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Authentication/LoginControllers.cs - Registration endpoint
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Authentication/RegisterControllers.cs - Login and onboarding
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Authentication/LoginService.cs - Registration service
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Authentication/RegisterService.cs - Ban and appeals
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Authentication/BanStorageService.cs - Login rate limits
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Authentication/LoginRateLimitingService.cs - Two-factor codes
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/TwoFactor/TwoFactorService.cs
Social and messaging
- Friend endpoints
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/FriendController.cs - Friend service
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/FriendService/FriendService.cs - Message endpoints
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Message/MessageController.cs - Message engine
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Message/Engine/MessageService.cs - Message request endpoints
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Message/MessageRequestsController.cs - Message request service
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Message/MessageRequests/MessageRequestService.cs - Messaging privacy
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Message/Security/UpdatePrivacySettingsAsync.cs
Fitness and location
- Map and location
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Maps/MapService.cs
Administration
- Admin endpoints
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/AdminConttroller.cs - Admin appeal review
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/AdminBanAppealController.cs - Application logs
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Log/LogService.cs
Other components
- App user
- ASP.NET API
Backend/Gym-Pro-Api/Gym-Pro-Api/Program.cs - SQL database
Backend/Gym-Pro-Api/Gym-Pro-Api/Data/ApplicationDbContext.cs
Connections 24
- App user → Authentication UI: uses
- App user → Fitness UI: uses
- Authentication UI → Login endpoint: requests login
- Login endpoint → Login and onboarding: calls
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Authentication/LoginControllers.cs - Registration endpoint → Registration service: calls
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Authentication/RegisterControllers.cs - Login and onboarding → Ban and appeals: checks ban
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Authentication/LoginService.cs - Login and onboarding → Application logs: records events
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Authentication/LoginService.cs - ASP.NET API → Login and onboarding: registers service
Backend/Gym-Pro-Api/Gym-Pro-Api/Program.cs - ASP.NET API → Registration service: registers service
Backend/Gym-Pro-Api/Gym-Pro-Api/Program.cs - ASP.NET API → Ban and appeals: registers service
Backend/Gym-Pro-Api/Gym-Pro-Api/Program.cs - ASP.NET API → Login rate limits: registers service
Backend/Gym-Pro-Api/Gym-Pro-Api/Program.cs - ASP.NET API → Two-factor codes: registers service
Backend/Gym-Pro-Api/Gym-Pro-Api/Program.cs - Friend endpoints → Friend service: calls
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/FriendController.cs - Message endpoints → Message engine: calls
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Message/MessageController.cs - Message request endpoints → Message request service: calls
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/Message/MessageRequestsController.cs - Admin appeal review → Ban and appeals: decides appeals
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/AdminBanAppealController.cs - Admin appeal review → Login rate limits: clears lock
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/AdminBanAppealController.cs - Admin appeal review → Application logs: records decision
Backend/Gym-Pro-Api/Gym-Pro-Api/Controllers/AdminBanAppealController.cs - ASP.NET API → Admin endpoints: serves controllers
- Maps UI → Map and location: requests locations
- Fitness UI → Workout UI: offers fitness features
- Ban and appeals → SQL database: reads and writes
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/Authentication/BanStorageService.cs - Friend service → SQL database: reads and writes
Backend/Gym-Pro-Api/Gym-Pro-Api/Services/FriendService/FriendService.cs - Map and location → SQL database: uses persistence