# yanakhariebova/immobilie-web architecture

> Architecture diagram of the GitHub repository yanakhariebova/immobilie-web, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yanakhariebova/immobilie-web
- Repository: https://github.com/yanakhariebova/immobilie-web

## Overview

ImmobilieWeb is a German-language real-estate discovery and inquiry demo. The main visitor flow is browsing or filtering listings, opening a property detail, and preparing an inquiry; owners can also complete a four-step valuation form. The app additionally presents agency information, legal pages, testimonials, and local display preferences. Form submissions are demo-only, while testimonials and theme choice are stored in the browser. Some links below reflect README documentation because their implementing source was not sampled.

Main entry points: [`src/routeTree.gen.ts`](https://github.com/yanakhariebova/immobilie-web/blob/main/src/routeTree.gen.ts) (Route tree), [`src/pages/PropertiesPage.tsx`](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PropertiesPage.tsx) (Catalog page), [`src/routes/immobilien.index.tsx`](https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/immobilien.index.tsx) (Catalog route), [`src/pages/PropertyDetailPage.tsx`](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PropertyDetailPage.tsx) (Property details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["Routing and Shell"]
  node_app["React entry<br/>[main.tsx]"]
  node_route_tree["Route tree<br/>[routeTree.gen.ts]"]
  node_site_shell["Site shell<br/>[SiteTemplate.tsx]"]
  node_home_route["Home route<br/>[index.tsx]"]
  node_detail_route["Detail route"]
  node_valuation_route["Valuation route<br/>[bewertung.tsx]"]
end

subgraph group_discovery["Property Discovery"]
  node_catalog_route["Catalog route"]
  node_catalog_page["Catalog page<br/>[PropertiesPage.tsx]"]
  node_filters["Catalog filters<br/>[FilterBar.tsx]"]
  node_property_grid["Property grid<br/>[PropertyGrid.tsx]"]
  node_property_card["Property card<br/>[PropertyCard.tsx]"]
  node_detail_page["Property details"]
  node_gallery["Image gallery"]
end

subgraph group_engagement["Inquiries and Valuation"]
  node_inquiry["Property inquiry<br/>[InquiryForm.tsx]"]
  node_valuation_page["Valuation page<br/>[ValuationPage.tsx]"]
  node_valuation_form["Valuation form<br/>[ValuationForm.tsx]"]
  node_contact_form["Contact form<br/>[ContactForm.tsx]"]
  node_testimonial_form["Testimonial form"]
end

subgraph group_content["Agency and Content"]
  node_home_page["Home page<br/>[HomePage.tsx]"]
  node_home_sections["Home sections"]
  node_contact_page["Contact page<br/>[ContactPage.tsx]"]
  node_testimonials["Testimonials display"]
  node_legal_pages["Legal pages<br/>[PrivacyPage.tsx]"]
end

subgraph group_shared["Shared Data and State"]
  node_catalog_loader["Catalog loader<br/>[loadProperties.ts]"]
  node_property_guard["Property validation<br/>[isProperty.ts]"]
  node_testimonial_store[("Local testimonials")]
  node_theme_toggle["Theme preference<br/>[ThemeToggle.tsx]"]
  node_property_types["Property model<br/>[property.ts]"]
end

node_visitor(("Visitor"))
node_browser_store[("Browser localStorage")]

node_visitor -->|"opens site"| node_app
node_app -->|"provides routes"| node_route_tree
node_route_tree -->|"uses root shell"| node_site_shell
node_route_tree -->|"registers route"| node_home_route
node_home_route -->|"renders"| node_home_page
node_home_page -->|"composes sections"| node_home_sections
node_route_tree -->|"registers route"| node_catalog_route
node_catalog_route -->|"renders"| node_catalog_page
node_catalog_route -->|"updates URL filters"| node_filters
node_catalog_page -->|"renders"| node_filters
node_catalog_page -->|"renders results"| node_property_grid
node_property_grid -->|"renders cards"| node_property_card
node_catalog_page -->|"loads listings"| node_catalog_loader
node_catalog_loader -->|"validates records"| node_property_guard
node_route_tree -->|"registers route"| node_detail_route
node_detail_route -->|"renders detail"| node_detail_page
node_detail_page -->|"renders gallery"| node_gallery
node_detail_page -->|"renders inquiry"| node_inquiry
node_route_tree -->|"registers route"| node_valuation_route
node_valuation_route -->|"renders"| node_valuation_page
node_valuation_page -->|"presents steps"| node_valuation_form
node_route_tree -->|"registers contact route"| node_contact_page
node_contact_page -->|"presents form"| node_contact_form
node_home_sections -->|"shows testimonials"| node_testimonials
node_testimonials -.->|"offers submission"| node_testimonial_form
node_testimonial_form -.->|"saves locally"| node_testimonial_store
node_testimonial_store -->|"reads and writes"| node_browser_store
node_theme_toggle -->|"persists preference"| node_browser_store
node_visitor -->|"views legal info"| node_legal_pages
node_catalog_loader -->|"checks property shape"| node_property_types

click node_app "https://github.com/yanakhariebova/immobilie-web/blob/main/src/main.tsx"
click node_route_tree "https://github.com/yanakhariebova/immobilie-web/blob/main/src/routeTree.gen.ts"
click node_site_shell "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/templates/SiteTemplate.tsx"
click node_home_route "https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/index.tsx"
click node_home_page "https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/HomePage.tsx"
click node_home_sections "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/FeaturedPropertiesParallax.tsx"
click node_catalog_route "https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/immobilien.index.tsx"
click node_catalog_page "https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PropertiesPage.tsx"
click node_filters "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/FilterBar.tsx"
click node_property_grid "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/PropertyGrid.tsx"
click node_property_card "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/molecules/PropertyCard.tsx"
click node_catalog_loader "https://github.com/yanakhariebova/immobilie-web/blob/main/src/data/loadProperties.ts"
click node_property_guard "https://github.com/yanakhariebova/immobilie-web/blob/main/src/utils/isProperty.ts"
click node_detail_route "https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/immobilien.%24propertyId.tsx"
click node_detail_page "https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PropertyDetailPage.tsx"
click node_gallery "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/PropertyGallery.tsx"
click node_inquiry "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/InquiryForm.tsx"
click node_valuation_route "https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/bewertung.tsx"
click node_valuation_page "https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/ValuationPage.tsx"
click node_valuation_form "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/ValuationForm.tsx"
click node_contact_page "https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/ContactPage.tsx"
click node_contact_form "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/ContactForm.tsx"
click node_testimonials "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/TestimonialsSection.tsx"
click node_testimonial_form "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/TestimonialForm.tsx"
click node_testimonial_store "https://github.com/yanakhariebova/immobilie-web/blob/main/src/utils/testimonialStorage.ts"
click node_theme_toggle "https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/atoms/ThemeToggle.tsx"
click node_legal_pages "https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PrivacyPage.tsx"
click node_property_types "https://github.com/yanakhariebova/immobilie-web/blob/main/src/types/property.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_route_tree,node_site_shell,node_home_route,node_detail_route,node_valuation_route toneBlue
class node_catalog_route,node_catalog_page,node_filters,node_property_grid,node_property_card,node_detail_page,node_gallery,node_browser_store toneAmber
class node_inquiry,node_valuation_page,node_valuation_form,node_contact_form,node_testimonial_form toneMint
class node_home_page,node_home_sections,node_contact_page,node_testimonials,node_legal_pages toneRose
class node_catalog_loader,node_property_guard,node_testimonial_store,node_theme_toggle,node_property_types,node_visitor toneIndigo
```

## Components

### Routing and Shell

- [React entry](https://github.com/yanakhariebova/immobilie-web/blob/main/src/main.tsx): `src/main.tsx`
- [Route tree](https://github.com/yanakhariebova/immobilie-web/blob/main/src/routeTree.gen.ts): `src/routeTree.gen.ts`
- [Site shell](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/templates/SiteTemplate.tsx): `src/components/templates/SiteTemplate.tsx`
- [Home route](https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/index.tsx): `src/routes/index.tsx`
- [Detail route](https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/immobilien.%24propertyId.tsx): `src/routes/immobilien.$propertyId.tsx`
- [Valuation route](https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/bewertung.tsx): `src/routes/bewertung.tsx`

### Property Discovery

- [Catalog route](https://github.com/yanakhariebova/immobilie-web/blob/main/src/routes/immobilien.index.tsx): `src/routes/immobilien.index.tsx`
- [Catalog page](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PropertiesPage.tsx): `src/pages/PropertiesPage.tsx`
- [Catalog filters](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/FilterBar.tsx): `src/components/organisms/FilterBar.tsx`
- [Property grid](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/PropertyGrid.tsx): `src/components/organisms/PropertyGrid.tsx`
- [Property card](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/molecules/PropertyCard.tsx): `src/components/molecules/PropertyCard.tsx`
- [Property details](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PropertyDetailPage.tsx): `src/pages/PropertyDetailPage.tsx`
- [Image gallery](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/PropertyGallery.tsx): `src/components/organisms/PropertyGallery.tsx`

### Inquiries and Valuation

- [Property inquiry](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/InquiryForm.tsx): `src/components/organisms/InquiryForm.tsx`
- [Valuation page](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/ValuationPage.tsx): `src/pages/ValuationPage.tsx`
- [Valuation form](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/ValuationForm.tsx): `src/components/organisms/ValuationForm.tsx`
- [Contact form](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/ContactForm.tsx): `src/components/organisms/ContactForm.tsx`
- [Testimonial form](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/TestimonialForm.tsx): `src/components/organisms/TestimonialForm.tsx`

### Agency and Content

- [Home page](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/HomePage.tsx): `src/pages/HomePage.tsx`
- [Home sections](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/FeaturedPropertiesParallax.tsx): `src/components/organisms/FeaturedPropertiesParallax.tsx`
- [Contact page](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/ContactPage.tsx): `src/pages/ContactPage.tsx`
- [Testimonials display](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/organisms/TestimonialsSection.tsx): `src/components/organisms/TestimonialsSection.tsx`
- [Legal pages](https://github.com/yanakhariebova/immobilie-web/blob/main/src/pages/PrivacyPage.tsx): `src/pages/PrivacyPage.tsx`

### Shared Data and State

- [Catalog loader](https://github.com/yanakhariebova/immobilie-web/blob/main/src/data/loadProperties.ts): `src/data/loadProperties.ts`
- [Property validation](https://github.com/yanakhariebova/immobilie-web/blob/main/src/utils/isProperty.ts): `src/utils/isProperty.ts`
- [Local testimonials](https://github.com/yanakhariebova/immobilie-web/blob/main/src/utils/testimonialStorage.ts): `src/utils/testimonialStorage.ts`
- [Theme preference](https://github.com/yanakhariebova/immobilie-web/blob/main/src/components/atoms/ThemeToggle.tsx): `src/components/atoms/ThemeToggle.tsx`
- [Property model](https://github.com/yanakhariebova/immobilie-web/blob/main/src/types/property.ts): `src/types/property.ts`

### Other components

- **Visitor**
- **Browser localStorage**

## Connections

- Visitor → React entry: opens site (evidence: `README.md`)
- React entry → Route tree: provides routes (evidence: `src/main.tsx`)
- Route tree → Site shell: uses root shell
- Route tree → Home route: registers route (evidence: `src/routeTree.gen.ts`)
- Home route → Home page: renders (evidence: `src/routes/index.tsx`)
- Home page → Home sections: composes sections (evidence: `src/pages/HomePage.tsx`)
- Route tree → Catalog route: registers route (evidence: `src/routeTree.gen.ts`)
- Catalog route → Catalog page: renders (evidence: `src/routes/immobilien.index.tsx`)
- Catalog route → Catalog filters: updates URL filters (evidence: `src/routes/immobilien.index.tsx`)
- Catalog page → Catalog filters: renders (evidence: `src/pages/PropertiesPage.tsx`)
- Catalog page → Property grid: renders results (evidence: `src/pages/PropertiesPage.tsx`)
- Property grid → Property card: renders cards (evidence: `src/components/organisms/PropertyGrid.tsx`)
- Catalog page → Catalog loader: loads listings (evidence: `src/pages/PropertiesPage.tsx`)
- Catalog loader → Property validation: validates records (evidence: `src/data/loadProperties.ts`)
- Route tree → Detail route: registers route (evidence: `src/routeTree.gen.ts`)
- Detail route → Property details: renders detail (evidence: `src/routes/immobilien.$propertyId.tsx`)
- Property details → Image gallery: renders gallery (evidence: `src/pages/PropertyDetailPage.tsx`)
- Property details → Property inquiry: renders inquiry (evidence: `src/pages/PropertyDetailPage.tsx`)
- Route tree → Valuation route: registers route (evidence: `src/routeTree.gen.ts`)
- Valuation route → Valuation page: renders (evidence: `src/routes/bewertung.tsx`)
- Valuation page → Valuation form: presents steps (evidence: `README.md`)
- Route tree → Contact page: registers contact route (evidence: `src/routeTree.gen.ts`)
- Contact page → Contact form: presents form (evidence: `README.md`)
- Home sections → Testimonials display: shows testimonials (evidence: `src/pages/HomePage.tsx`)
- Testimonials display → Testimonial form: offers submission
- Testimonial form → Local testimonials: saves locally (evidence: `README.md`)
- Local testimonials → Browser localStorage: reads and writes (evidence: `src/utils/testimonialStorage.ts`)
- Theme preference → Browser localStorage: persists preference (evidence: `README.md`)
- Visitor → Legal pages: views legal info
- Catalog loader → Property model: checks property shape (evidence: `src/data/loadProperties.ts`)
