How strakhovnicholas/allergint works
Allergy-Startup is an allergy-management app with a web frontend and backend services for user profiles, health diaries, pollen information, and AI assistance. The visible user journey spans survey/profile setup, diary tracking, map-based pollen exploration, and recommendations. The diary service coordinates diary records and nested symptom, medicine, and weather data, and can request AI notes through Kafka. Source excerpts establish several internal calls; most frontend-to-backend and service-to-service HTTP wiring is not shown, so those links are omitted.
Main entry points: DiaryPageService.java Diary coordination · App.tsx Page router · PollenMapService.java Map and recommendations · DiaryNoteService.java Diary note producer
Components 26
Web app
- Page router
frontend/src/App.tsx - Allergy survey
frontend/src/components/pages/survey/Survey.tsx - User profile
frontend/src/components/pages/Profile/Profile.tsx - Health notebook
frontend/src/components/pages/NoteBook/NoteBook.tsx - Pollen map
frontend/src/components/pages/Map/Map.tsx
Health diary
- Diary coordination
allergint/core/diary-service/src/main/java/org/allergit/diarypage/service/DiaryPageService.java - Diary records
allergint/core/diary-service/src/main/java/org/allergit/diarypage/repository/DiaryPageRepository.java - Medicine tracking
allergint/core/diary-service/src/main/java/org/allergit/medicine/service/MedicineService.java - Symptom tracking
allergint/core/diary-service/src/main/java/org/allergit/symptom/service/UserSymptomService.java - Weather entries
allergint/core/diary-service/src/main/java/org/allergit/weather/service/WeatherService.java - Diary data model
allergint/core/diary-service/src/main/java/org/allergit/diarypage/entity/DiaryPage.java - Diary note producer
allergint/core/diary-service/src/main/java/org/allergit/kafka/service/DiaryNoteService.java
User profiles
- User API
allergint/core/user-service/src/main/java/org/allergit/controller/UserController.java - User and allergens
allergint/core/user-service/src/main/java/org/allergit/service/UserService.java - User repository
allergint/core/user-service/src/main/java/org/allergit/repository/UserRepository.java
Pollen information
- Pollen map API
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/controller/PollenMapController.java - Map and recommendations
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/service/PollenMapService.java - Pollen data
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/repository/PollenDataRepository.java - Coordinate data
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/repository/CoordinateRepository.java
AI assistance
- GigaChat client
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/client/GigaChatClient.java - AI prompt service
allergint/core/GigaChatInteraction-api/src/main/java/org/allergint/gigachatproxy/service/GigaChatService.java - AI chat API
allergint/core/GigaChatInteraction-api/src/main/java/org/allergint/gigachatproxy/controller/ChatController.java - AI diary consumer
allergint/core/GigaChatInteraction-api/src/main/java/org/allergint/gigachatproxy/kafka/consumer/DiaryNoteConsumer.java
Other components
- App user
- GigaChat service
- Kafka broker
Connections 20
- App user → Page router: uses
frontend/src/App.tsx - Page router → Allergy survey: routes to
frontend/src/App.tsx - Page router → User profile: routes to
frontend/src/App.tsx - Page router → Health notebook: routes to
frontend/src/App.tsx - Page router → Pollen map: routes to
frontend/src/App.tsx - Diary coordination → Diary records: saves records
allergint/core/diary-service/src/main/java/org/allergit/diarypage/service/DiaryPageService.java - Diary coordination → Medicine tracking: creates entries
allergint/core/diary-service/src/main/java/org/allergit/diarypage/service/DiaryPageService.java - Diary coordination → Symptom tracking: creates entries
allergint/core/diary-service/src/main/java/org/allergit/diarypage/service/DiaryPageService.java - Diary coordination → Weather entries: creates entries
allergint/core/diary-service/src/main/java/org/allergit/diarypage/service/DiaryPageService.java - Diary coordination → User API: checks user
allergint/core/diary-service/src/main/java/org/allergit/diarypage/service/DiaryPageService.java - Diary coordination → Diary note producer: requests AI notes
allergint/core/diary-service/src/main/java/org/allergit/diarypage/service/DiaryPageService.java - User and allergens → User repository: reads and writes
allergint/core/user-service/src/main/java/org/allergit/service/UserService.java - Map and recommendations → Pollen data: reads pollen data
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/service/PollenMapService.java - Map and recommendations → Coordinate data: queries coordinates
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/service/PollenMapService.java - Map and recommendations → GigaChat client: requests recommendations
allergint/core/weather-service/src/main/java/ru/allergint/weatherservice/service/PollenMapService.java - AI prompt service → GigaChat service: sends prompts
- Diary note producer → Kafka broker: publishes notes
- Kafka broker → AI diary consumer: delivers notes
- Pollen map API → Map and recommendations: dispatches requests
- AI chat API → AI prompt service: dispatches requests