How kacper-holowaty/football_manager works
FC Manager is an Angular football-club management application. Users can register or log in, browse clubs, and—when authenticated—manage their own clubs, players, and achievements. The frontend’s route components call services that make HTTP requests to the Spring Boot API; the README identifies PostgreSQL as the backend database, but backend implementation and persistence links are not shown in this frontend tree. The graph focuses on product workflows and shared authentication, country, and notification layers; unsampled feature internals are represented only where the tree or README supports them.
Main entry points: club.routes.ts Club routes · auth.service.ts Authentication · club.service.ts Club data service · app.routes.ts App routes
Components 24
App and navigation
- App routes
frontend/src/app/app.routes.ts - Owner dashboard
frontend/src/app/components/main/main.component.ts
Identity and account
- Login and registration
frontend/src/app/components/login/login.component.ts - Authentication
frontend/src/app/services/auth.service.ts - Token and session
frontend/src/app/services/token.service.ts - Auth interceptor
frontend/src/app/interceptors/auth.interceptor.ts - User account service
frontend/src/app/services/user.service.ts
Club management
- Club routes
frontend/src/app/components/club/club.routes.ts - Club browsing
frontend/src/app/components/club/club-list/club-list.component.ts - Club details and deletion
frontend/src/app/components/club/club-main/club-main.component.ts - Club form
frontend/src/app/components/club/club-form/club-form.component.ts - Club form logic
frontend/src/app/services/club-form.service.ts - Club data service
frontend/src/app/services/club.service.ts
Squad and achievements
- Player routes
frontend/src/app/components/player/player.routes.ts - Player lists and details
frontend/src/app/components/player/player-list/player-list.component.ts - Player form
frontend/src/app/components/player/player-form/player-form.component.ts - Player data service
frontend/src/app/services/player.service.ts - Club achievements
frontend/src/app/components/achievement/achievement-main/achievement-main.component.ts - Achievement form
frontend/src/app/components/achievement/achievement-form/achievement-form.component.ts - Achievement data service
frontend/src/app/services/achievement.service.ts
Shared services
- Country lookup
frontend/src/app/services/country.service.ts - Notifications
frontend/src/app/services/toast.service.ts
Other components
- Visitor
- Spring Boot API
Connections 37
- Visitor → App routes: opens
frontend/src/app/app.routes.ts - App routes → Login and registration: routes to
frontend/src/app/app.routes.ts - App routes → Owner dashboard: routes to
frontend/src/app/app.routes.ts - App routes → Club routes: loads routes
frontend/src/app/app.routes.ts - Login and registration → Authentication: authenticates
frontend/src/app/components/login/login.component.ts - Authentication → Token and session: stores tokens
frontend/src/app/services/auth.service.ts - Auth interceptor → Authentication: checks session
frontend/src/app/interceptors/auth.interceptor.ts - Auth interceptor → Token and session: reads tokens
frontend/src/app/interceptors/auth.interceptor.ts - Owner dashboard → Authentication: gets identity
frontend/src/app/components/main/main.component.ts - Owner dashboard → Club data service: loads owned clubs
frontend/src/app/components/main/main.component.ts - Owner dashboard → User account service: updates account
frontend/src/app/components/main/main.component.ts - Club routes → Club browsing: routes to
frontend/src/app/components/club/club.routes.ts - Club routes → Club details and deletion: routes to
frontend/src/app/components/club/club.routes.ts - Club routes → Club form: routes to
frontend/src/app/components/club/club.routes.ts - Club routes → Player routes: loads routes
frontend/src/app/components/club/club.routes.ts - Club routes → Club achievements: routes to
frontend/src/app/components/club/club.routes.ts - Club form → Club form logic: delegates form
frontend/src/app/components/club/club-form/club-form.component.ts - Club form logic → Club data service: submits changes
frontend/src/app/services/club-form.service.ts - Club form → Country lookup: looks up countries
frontend/src/app/components/club/club-form/club-form.component.ts - Club browsing → Club data service: loads clubs
- Club details and deletion → Club data service: loads club
- Player routes → Player lists and details: routes to
frontend/src/app/components/player/player.routes.ts - Player routes → Player form: routes to
frontend/src/app/components/player/player.routes.ts - Player form → Player data service: loads and saves
frontend/src/app/components/player/player-form/player-form.component.ts - Player form → Country lookup: looks up countries
frontend/src/app/components/player/player-form/player-form.component.ts - Player lists and details → Player data service: loads players
frontend/src/app/components/player/player-list/player-list.component.ts - Club achievements → Achievement form: opens form
frontend/src/app/components/achievement/achievement-main/achievement-main.component.ts - Club achievements → Achievement data service: manages achievements
frontend/src/app/components/achievement/achievement-main/achievement-main.component.ts - Achievement form → Achievement data service: submits changes
frontend/src/app/components/achievement/achievement-form/achievement-form.component.ts - Login and registration → Notifications: shows feedback
frontend/src/app/components/login/login.component.ts - Club form → Notifications: shows feedback
frontend/src/app/components/club/club-form/club-form.component.ts - Player form → Notifications: shows feedback
frontend/src/app/components/player/player-form/player-form.component.ts - Club data service → Spring Boot API: HTTP requests
frontend/src/app/services/club.service.ts - Authentication → Spring Boot API: HTTP requests
frontend/src/app/services/auth.service.ts - Country lookup → Spring Boot API: HTTP requests
frontend/src/app/services/country.service.ts - Player data service → Spring Boot API: HTTP requests
- Achievement data service → Spring Boot API: HTTP requests