How otboo/sb13-otboo-team03 works
OTBOO is a Spring Boot wardrobe and outfit-sharing service. The main user journey spans account authentication, maintaining a wardrobe, and publishing or browsing outfit feeds; the repository also contains weather-aware outfit recommendations and social messaging/notifications. The graph groups these product domains and highlights selected service-to-service and persistence relationships visible in excerpts or the source index. Many controllers and integrations were not sampled, so their links are omitted or marked unverified rather than inferred.
Main entry points: AuthService.java Authentication · FeedService.java Outfit feeds · UserService.java User accounts · ClothesService.java Wardrobe management
Components 23
Identity and profiles
- User accounts
src/main/java/com/otboo/team03/user/service/UserService.java - Authentication
src/main/java/com/otboo/team03/auth/service/AuthService.java - JWT services
src/main/java/com/otboo/team03/global/security/jwt/JwtTokenProvider.java - User profiles
src/main/java/com/otboo/team03/profile/service/ProfileServiceImpl.java
Wardrobe and weather
- Wardrobe management
src/main/java/com/otboo/team03/clothes/service/ClothesService.java - Clothing attributes
src/main/java/com/otboo/team03/clothes/service/ClothesAttributeDefinitionService.java - Product extraction
src/main/java/com/otboo/team03/clothes/service/ClothesExtractionService.java - Weather service
src/main/java/com/otboo/team03/weather/service/WeatherServiceImpl.java - Weather providers
src/main/java/com/otboo/team03/weather/client/OpenWeatherClient.java
Feeds and community
- Outfit feeds
src/main/java/com/otboo/team03/feed/service/FeedService.java - Feed search
src/main/java/com/otboo/team03/feed/repository/FeedSearchQueryRepository.java - Following
src/main/java/com/otboo/team03/follow/service/FollowService.java
Outfit recommendations
- Recommendations
src/main/java/com/otboo/team03/recommendation/service/RecommendationService.java - Outfit algorithms
src/main/java/com/otboo/team03/recommendation/algorithm/BasicOutfitAlgorithm.java - LLM outfit advice
src/main/java/com/otboo/team03/recommendation/client/GroqOutfitClient.java
Messaging and notifications
- Direct messages
src/main/java/com/otboo/team03/directmessage/service/DirectMessageService.java - Notifications
src/main/java/com/otboo/team03/notification/service/NotificationService.java - Event outbox
src/main/java/com/otboo/team03/notification/outbox/service/OutboxEventPublisher.java - Live notifications
src/main/java/com/otboo/team03/notification/sse/SseConnectionManager.java
Other components
- Relational database
- Redis
- S3 storage
- User
Connections 24
- Authentication → JWT services: validates and issues
src/main/java/com/otboo/team03/auth/service/AuthService.java - Authentication → Redis: checks and rotates tokens
src/main/java/com/otboo/team03/auth/service/AuthService.java - Authentication → User accounts: loads account details
src/main/java/com/otboo/team03/auth/service/AuthService.java - User accounts → User profiles: updates profile data
src/main/java/com/otboo/team03/user/service/UserService.java - User accounts → Event outbox: publishes events
src/main/java/com/otboo/team03/user/service/UserService.java - Wardrobe management → Relational database: reads and writes wardrobe
src/main/java/com/otboo/team03/clothes/service/ClothesService.java - Wardrobe management → S3 storage: uploads and deletes images
src/main/java/com/otboo/team03/clothes/service/ClothesService.java - Outfit feeds → Relational database: persists feed and comments
src/main/java/com/otboo/team03/feed/service/FeedService.java - Outfit feeds → Wardrobe management: checks outfit ownership
src/main/java/com/otboo/team03/feed/service/FeedService.java - Outfit feeds → Feed search: searches feed results
src/main/java/com/otboo/team03/feed/service/FeedService.java - Following → Event outbox: publishes follow events
src/main/java/com/otboo/team03/follow/service/FollowService.java - Following → User accounts: looks up users
src/main/java/com/otboo/team03/follow/service/FollowService.java - Notifications → Relational database: reads notification records
src/main/java/com/otboo/team03/notification/service/NotificationService.java - User → Authentication: authenticates
- User → Wardrobe management: manages wardrobe
- User → Outfit feeds: shares outfits
- User → Recommendations: requests suggestions
- User → Direct messages: sends messages
- Weather service → Weather providers: fetches forecasts
- Recommendations → Outfit algorithms: uses outfit logic
src/main/java/com/otboo/team03/recommendation/service/RecommendationService.java - Recommendations → LLM outfit advice: requests LLM advice
- Notifications → Live notifications: streams updates
- Notifications → Redis: relays updates
- Event outbox → Relational database: stores pending events