How 100-hours-a-week/ktb4-20th-be works
Planit is a Spring backend for collaborative trip planning, with Kakao-based authentication, trip and survey management, AI-assisted schedule generation, and regional chat. The likely user journey is authenticate, create or join a trip, submit preferences, then generate and manage an itinerary; chat and region lookup are complementary capabilities. The README gives no product detail, and most controllers and services were not sampled, so several feature nodes reflect the source tree without asserted connections. Edges below are limited to relationships visible in excerpts or the SOURCE INDEX.
Main entry points: SchedulePersistenceService.java Schedule Persistence · ChatMessageTransactionService.java Chat Transactions · TripService.java Trip Service · TripRepository.java Trip Repository
Components 18
Identity
- Auth API
src/main/java/com/planit/auth/controller/AuthController.java - Auth Service
src/main/java/com/planit/auth/service/AuthService.java - Account Withdrawal
src/main/java/com/planit/user/service/WithdrawalTransactionService.java
Trip Planning
- Trip API
src/main/java/com/planit/trip/controller/TripController.java - Trip Service
src/main/java/com/planit/trip/service/TripService.java - Survey Services
src/main/java/com/planit/survey/service - Region Catalog
src/main/java/com/planit/region/service/RegionService.java
Schedules
- Schedule APIs
src/main/java/com/planit/schedule/controller - Schedule Services
src/main/java/com/planit/schedule/service - Schedule Persistence
src/main/java/com/planit/schedule/service/SchedulePersistenceService.java - Route Calculator
src/main/java/com/planit/schedule/route/ShortestRouteCalculator.java
Regional Chat
- Chat Transactions
src/main/java/com/planit/chat/service/ChatMessageTransactionService.java - Text Normalizer
src/main/java/com/planit/chat/service/ChatTextNormalizer.java
Shared Services
- Trip Repository
src/main/java/com/planit/repository/TripRepository.java - Schedule Repositories
src/main/java/com/planit/schedule/repository - Chat Repositories
src/main/java/com/planit/repository/ChatMessageRepository.java - Image Storage
src/main/java/com/planit/image/storage/ImageStorage.java
Other components
- User
Connections 10
- Auth API → Auth Service: delegates auth
src/main/java/com/planit/auth/controller/AuthController.java - Trip API → Trip Service: delegates trips
src/main/java/com/planit/trip/controller/TripController.java - Account Withdrawal → Trip Service: leaves trips
src/main/java/com/planit/user/service/WithdrawalTransactionService.java - Region Catalog → Trip Repository: reads regions
src/main/java/com/planit/region/service/RegionService.java - Schedule Persistence → Trip Repository: locks trip
src/main/java/com/planit/schedule/service/SchedulePersistenceService.java - Schedule Persistence → Schedule Repositories: persists itinerary
src/main/java/com/planit/schedule/service/SchedulePersistenceService.java - Schedule Persistence → Route Calculator: calculates route
src/main/java/com/planit/schedule/service/SchedulePersistenceService.java - Chat Transactions → Chat Repositories: reads and writes
src/main/java/com/planit/chat/service/ChatMessageTransactionService.java - Chat Transactions → Image Storage: creates read URL
src/main/java/com/planit/chat/service/ChatMessageTransactionService.java - Chat Transactions → Text Normalizer: normalizes text
src/main/java/com/planit/chat/service/ChatMessageTransactionService.java