How captainmarraqueta/fitstart works
FitStart is an Ionic/Angular fitness app with account access, session checking, home and profile screens, plus biometric and pedometer services. The visible entry workflow redirects to session checking; application routes then expose login or registration, and guard home/profile routes. AuthService implements Firebase email authentication, Firestore user records, and local token/user caching. The README gives setup instructions but no further product workflow. Several feature implementations were not sampled, so their runtime connections are omitted rather than inferred.
Main entry points: app-routing.module.ts Route table · auth.service.ts Auth service · app.module.ts App configuration · login.guard.ts Login guard
Components 21
App navigation
- Route table
src/app/app-routing.module.ts - Tab navigation
src/app/components/tabs/tabs.component.ts - App configuration
src/app/app.module.ts
Identity and access
- Session check
src/app/auth/check-session/check-session.page.ts - Login screen
src/app/auth/login/login.page.ts - Registration screen
src/app/auth/register/register.page.ts - Password recovery
src/app/auth/forgotpas/forgotpas.page.ts - Auth guard
src/app/guards/auth.guard.ts - Login guard
src/app/guards/login.guard.ts - Auth service
src/app/services/auth.service.ts - User model
src/app/models/usuario.ts
Fitness experience
- Home screen
src/app/body/home/home.page.ts - Profile screen
src/app/body/profile/profile.page.ts - Pedometer service
src/app/services/podometer.service.ts - Pedometer display
src/app/components/podometer/podometer.component.ts
Platform services
- Firebase Auth
- Cloud Firestore
- Browser local storage
- Biometric service
src/app/services/biometric.service.ts - Firebase settings
src/environments/environment.ts
Other components
- App user
Connections 16
- App user → Route table: opens app
src/app/app-routing.module.ts - Route table → Session check: redirects to
src/app/app-routing.module.ts - Route table → Login screen: routes to
src/app/app-routing.module.ts - Route table → Registration screen: routes to
src/app/app-routing.module.ts - Route table → Password recovery: routes to
src/app/app-routing.module.ts - Route table → Home screen: routes to
src/app/app-routing.module.ts - Route table → Profile screen: routes to
src/app/app-routing.module.ts - Route table → Auth guard: guards route
src/app/app-routing.module.ts - Route table → Login guard: guards route
src/app/app-routing.module.ts - Login guard → Auth service: checks session
src/app/guards/login.guard.ts - Auth service → Firebase Auth: authenticates users
src/app/services/auth.service.ts - Auth service → Cloud Firestore: reads and writes
src/app/services/auth.service.ts - Auth service → Browser local storage: stores session
src/app/services/auth.service.ts - Auth service → User model: uses model
src/app/services/auth.service.ts - App configuration → Route table: loads routes
src/app/app.module.ts - App configuration → Firebase settings: configures Firebase
src/app/app.module.ts