How do-00/skthon_5team_ni works
Eco Check helps residents find a building, view its energy-efficiency estimate and neighborhood context, and explore retrofit recommendations and savings. The main flow starts with address search, which tries the beec Spring backend and falls back to local building data, then presents a building report with grades, costs, and what-if analysis. The product also includes apartment search, district comparisons, retrofit-program discovery, accounts, and administration. Several subsystem links are documented in the README; other backend route details are not sampled, so uncertain links are omitted or marked unverified.
Main entry points: page.tsx Building report · route.ts AI remodel report · buildings.ts Building matching · beec-client.ts beec client
Components 24
Building discovery
- Address search
src/app/search/page.tsx - Address entry
src/app/_components/AddressSearchBar.tsx - Building matching
src/data/buildings.ts - Building fixtures
src/data/buildings.ts
Energy assessment
- Building report
src/app/report/[buildingId]/page.tsx - Grade scale
src/data/grades.ts - Energy cost
src/app/api/energy-cost/route.ts - Peer estimate
beec/src/main/java/com/greenremodel/beec/ReportController.java - District comparison
beec/src/main/java/com/greenremodel/beec/DistrictController.java - District map
src/components/domain/DistrictMap.tsx - Apartment insights
beec/src/main/java/com/greenremodel/beec/ApartmentService.java
Retrofit planning
- AI remodel report
src/app/api/remodel-report/route.ts - Report logic
src/lib/remodel-report.ts - What-if model
src/lib/what-if.ts - Program explorer
src/app/programs/page.tsx - Program catalog
src/data/programs.ts
Backend services
- Retrofit simulation
beec/src/main/java/com/greenremodel/beec/SimulationController.java - beec client
src/lib/beec-client.ts - Measured seed data
beec/src/main/java/com/greenremodel/beec/SeedDataService.java
User services
- Account area
src/app/mypage/page.tsx - Admin console
src/app/admin/page.tsx
Other components
- Resident
- Gemini API
- beec backend
Connections 27
- Resident → Address search: searches
src/app/search/page.tsx - Address search → Address entry: offers entry
- Address search → Building matching: finds buildings
src/app/search/page.tsx - Building matching → beec backend: matches address
README.md - Building matching → Building fixtures: falls back
README.md - Resident → Building report: opens report
src/app/report/[buildingId]/page.tsx - Building report → Building matching: loads building
src/app/report/[buildingId]/page.tsx - Building report → Grade scale: uses grades
src/app/report/[buildingId]/page.tsx - Building report → Energy cost: requests costs
- Building matching → beec client: requests matches
src/data/buildings.ts - beec client → beec backend: calls API
README.md - Building report → Peer estimate: shows estimate
- Peer estimate → Measured seed data: queries records
beec/src/main/java/com/greenremodel/beec/ReportController.java - Resident → District map: views districts
- District map → District comparison: loads comparison
- Resident → AI remodel report: requests advice
- AI remodel report → beec client: simulates measures
src/app/api/remodel-report/route.ts - beec client → Retrofit simulation: calls simulation
- Retrofit simulation → Measured seed data: uses building data
- AI remodel report → What-if model: maps simulation
src/app/api/remodel-report/route.ts - AI remodel report → Report logic: builds fallback
src/app/api/remodel-report/route.ts - AI remodel report → Gemini API: requests generation
src/app/api/remodel-report/route.ts - Resident → Program explorer: explores programs
- Program explorer → Program catalog: reads catalog
- Resident → Account area: manages account
- Resident → Admin console: administers data
- beec backend → Apartment insights: serves apartment data