How ayoubelazami/projetrencontregamification works
This is a dating and matchmaking application: users create profiles, browse recommendations, send likes, form matches, and interact through match conversations. The frontend is a Next.js client and the backend is a Symfony API, with separate matchmaking, gamification, notification, and moderation capabilities. The excerpts and SOURCE INDEX support several backend service and entity relationships; frontend-to-API wiring and some unsampled subsystem internals are not shown, so those links are marked unverified or omitted.
Main entry points: api.ts API client · User.php User profile · InteractionController.php Interaction API · MatchService.php Match service
Components 30
Web client
- Browse & profile
frontend/app/page.tsx - Swipe deck
frontend/components/SwipeDeck.tsx - Profile page
frontend/app/profile/page.tsx - Likes page
frontend/app/likes/page.tsx - Match conversation
frontend/app/matches/[id]/page.tsx - Leaderboard page
frontend/app/leaderboard/page.tsx - API client
frontend/lib/api.ts
API controllers
- User & profile API
matchmaking-backend/src/Controller/User/UserController.php - Profile API
matchmaking-backend/src/Controller/User/ProfileController.php - Interaction API
matchmaking-backend/src/Controller/Matchmaking/InteractionController.php - Matches API
matchmaking-backend/src/Controller/Matchmaking/MatchController.php - Gamification API
matchmaking-backend/src/Controller/Gamification/GamificationController.php - Notifications API
matchmaking-backend/src/Controller/Notification/NotificationController.php - Reports API
matchmaking-backend/src/Controller/Moderation/ReportController.php - Admin API
matchmaking-backend/src/Controller/Admin/AdminController.php
Domain services
- Recommendations
matchmaking-backend/src/Service/RecommendationService.php - Match service
matchmaking-backend/src/Service/MatchService.php - Gamification service
matchmaking-backend/src/Service/GamificationService.php - Notification service
matchmaking-backend/src/Service/NotificationService.php - Moderation service
matchmaking-backend/src/Service/ModerationService.php - Media service
matchmaking-backend/src/Service/MediaService.php
Domain data
- User profile
matchmaking-backend/src/Entity/User.php - Match requests
matchmaking-backend/src/Entity/MatchRequest.php - Matches & messages
matchmaking-backend/src/Entity/UserMatch.php - Notifications
matchmaking-backend/src/Entity/Notification.php - Reports
matchmaking-backend/src/Entity/Report.php - Profile tags
matchmaking-backend/src/Entity/ProfileTag.php - User badges
matchmaking-backend/src/Entity/UserBadge.php - User quests
matchmaking-backend/src/Entity/UserQuest.php
Other components
- App user
Connections 40
- App user → Browse & profile: browses
- App user → Profile page: edits profile
- Browse & profile → Swipe deck: uses
- Swipe deck → API client: sends actions
- Profile page → API client: loads profile
- Likes page → API client: loads likes
- Match conversation → API client: loads match
- Leaderboard page → API client: loads rankings
- API client → User & profile API: HTTP requests
- API client → Interaction API: HTTP requests
- API client → Matches API: HTTP requests
- API client → Gamification API: HTTP requests
- API client → Notifications API: HTTP requests
- User & profile API → Recommendations: uses
matchmaking-backend/src/Controller/User/UserController.php - Profile API → Media service: uploads avatars
matchmaking-backend/src/Controller/User/ProfileController.php - Interaction API → Match service: creates requests
matchmaking-backend/src/Controller/Matchmaking/InteractionController.php - Interaction API → Gamification service: awards activity
matchmaking-backend/src/Controller/Matchmaking/InteractionController.php - Matches API → Gamification service: awards activity
matchmaking-backend/src/Controller/Matchmaking/MatchController.php - Match service → Notification service: creates notifications
matchmaking-backend/src/Service/MatchService.php - Notifications API → Notification service: serves notifications
matchmaking-backend/src/Controller/Notification/NotificationController.php - Reports API → Moderation service: creates reports
matchmaking-backend/src/Controller/Moderation/ReportController.php - Admin API → Moderation service: reviews reports
matchmaking-backend/src/Controller/Admin/AdminController.php - Match service → Match requests: manages requests
matchmaking-backend/src/Service/MatchService.php - Match service → Matches & messages: creates matches
matchmaking-backend/src/Service/MatchService.php - Match service → Notifications: creates notifications
matchmaking-backend/src/Service/MatchService.php - Notification service → Notifications: reads and updates
matchmaking-backend/src/Service/NotificationService.php - Moderation service → Reports: manages reports
matchmaking-backend/src/Service/ModerationService.php - Moderation service → User profile: moderates users
matchmaking-backend/src/Service/ModerationService.php - Gamification service → User badges: awards badges
matchmaking-backend/src/Service/GamificationService.php - Gamification service → User quests: tracks quests
matchmaking-backend/src/Service/GamificationService.php - Gamification service → User profile: updates XP
matchmaking-backend/src/Service/GamificationService.php - User & profile API → User profile: reads users
matchmaking-backend/src/Controller/User/UserController.php - Profile API → User profile: updates profile
matchmaking-backend/src/Controller/User/ProfileController.php - Profile API → Profile tags: manages tags
matchmaking-backend/src/Controller/User/ProfileController.php - Interaction API → User profile: loads target
matchmaking-backend/src/Controller/Matchmaking/InteractionController.php - Interaction API → Match requests: lists likes
matchmaking-backend/src/Controller/Matchmaking/InteractionController.php - Notifications API → Notifications: serializes records
matchmaking-backend/src/Controller/Notification/NotificationController.php - Reports API → User profile: loads target
matchmaking-backend/src/Controller/Moderation/ReportController.php - Admin API → Reports: loads reports
matchmaking-backend/src/Controller/Admin/AdminController.php - Gamification API → User profile: reads scores
matchmaking-backend/src/Controller/Gamification/GamificationController.php