# nicoronco2/demo-inmobiliaria architecture

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

- Interactive diagram: https://gitdiagram.com/nicoronco2/demo-inmobiliaria
- Repository: https://github.com/nicoronco2/demo-inmobiliaria

## Overview

NOVA is a public real-estate website for discovering, buying, renting, and selling properties in Córdoba, with company and contact pages. Visitors enter through the routed public site; property listings and detail pages obtain local property data through a repository, while buying and renting pages provide operation-specific listings. Selling and contact are separate inquiry flows. The app also presents company information and reusable service, statistics, and testimonial content. Evidence is limited to the source index and sampled files; the README is empty, and the property search UI is explicitly presentational rather than connected to filtering.

Main entry points: [`src/App.tsx`](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/App.tsx) (Route application), [`src/repositories/properties.repository.ts`](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/repositories/properties.repository.ts) (Property repository), [`src/pages/Home/HomePage.tsx`](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Home/HomePage.tsx) (Home page), [`src/pages/Properties/PropertiesPage.tsx`](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Properties/PropertiesPage.tsx) (Properties page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["Site routing"]
  node_app["Route application<br/>[App.tsx]"]
  node_public_layout["Public shell<br/>[PublicLayout.tsx]"]
end

subgraph group_properties["Property discovery"]
  node_properties_page["Properties page<br/>[PropertiesPage.tsx]"]
  node_operation_pages["Buy / rent pages<br/>[ComprarPage.tsx]"]
  node_detail_page["Property detail"]
  node_property_grid["Property grid<br/>[PropertyGrid.tsx]"]
  node_property_card["Property card<br/>[PropertyCard.tsx]"]
  node_search_bar["Search controls<br/>[SearchBar.tsx]"]
  node_repository["Property repository"]
  node_property_data["Local properties<br/>[properties.ts]"]
  node_property_model["Property model<br/>[property.ts]"]
end

subgraph group_business["Business pages"]
  node_home["Home page<br/>[HomePage.tsx]"]
  node_sell_page["Sell page<br/>[SellPage.tsx]"]
  node_selling_form["Selling inquiry<br/>[SellingForm.tsx]"]
  node_contact_page["Contact page<br/>[ContactPage.tsx]"]
  node_contact_form["Contact inquiry<br/>[ContactForm.tsx]"]
  node_about_page["About page<br/>[AboutPage.tsx]"]
  node_content_data["Site content data<br/>[services.ts]"]
  node_stats_section["Statistics section<br/>[Stats.tsx]"]
end

subgraph group_presentation["Shared presentation"]
  node_section_primitives["Section primitives<br/>[Section.tsx]"]
  node_reveal["Reveal animation<br/>[Reveal.tsx]"]
  node_motion_variants["Motion variants<br/>[variants.ts]"]
  node_seo["Page metadata<br/>[seo.ts]"]
  node_design_system["Design showcase"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"routes through"| node_public_layout
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_properties_page
node_app -->|"routes to"| node_operation_pages
node_app -->|"routes to"| node_detail_page
node_app -->|"routes to"| node_sell_page
node_app -->|"routes to"| node_contact_page
node_app -->|"routes to"| node_about_page
node_app -->|"routes to"| node_design_system
node_public_layout -.->|"presents shell"| node_visitor
node_home -->|"requests properties"| node_repository
node_home -->|"renders"| node_property_grid
node_properties_page -->|"requests properties"| node_repository
node_properties_page -->|"renders"| node_property_grid
node_properties_page -->|"renders"| node_search_bar
node_operation_pages -->|"requests properties"| node_repository
node_operation_pages -->|"renders listings"| node_property_grid
node_detail_page -->|"looks up property"| node_repository
node_repository -->|"reads"| node_property_data
node_repository -->|"uses contract"| node_property_model
node_property_grid -.->|"renders"| node_property_card
node_sell_page -->|"renders"| node_selling_form
node_contact_page -->|"renders"| node_contact_form
node_about_page -->|"renders"| node_stats_section
node_about_page -->|"sets metadata"| node_seo
node_contact_page -->|"sets metadata"| node_seo
node_operation_pages -->|"sets metadata"| node_seo
node_home -->|"uses services"| node_content_data
node_stats_section -->|"reads statistics"| node_content_data
node_reveal -->|"uses"| node_motion_variants
node_home -->|"uses sections"| node_section_primitives
node_design_system -->|"showcases"| node_section_primitives

click node_app "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/App.tsx"
click node_public_layout "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/layouts/PublicLayout.tsx"
click node_home "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Home/HomePage.tsx"
click node_properties_page "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Properties/PropertiesPage.tsx"
click node_operation_pages "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Comprar/ComprarPage.tsx"
click node_detail_page "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/PropertyDetail/PropertyDetailPage.tsx"
click node_property_grid "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/property/PropertyGrid.tsx"
click node_property_card "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/property/PropertyCard.tsx"
click node_search_bar "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/property/SearchBar.tsx"
click node_repository "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/repositories/properties.repository.ts"
click node_property_data "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/data/properties.ts"
click node_property_model "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/types/property.ts"
click node_sell_page "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Sell/SellPage.tsx"
click node_selling_form "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Sell/SellingForm.tsx"
click node_contact_page "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Contact/ContactPage.tsx"
click node_contact_form "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Contact/ContactForm.tsx"
click node_about_page "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/About/AboutPage.tsx"
click node_content_data "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/data/services.ts"
click node_stats_section "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/sections/Stats.tsx"
click node_section_primitives "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/layout/Section.tsx"
click node_reveal "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/ui/Reveal.tsx"
click node_motion_variants "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/animations/variants.ts"
click node_seo "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/lib/seo.ts"
click node_design_system "https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/DesignSystem/DesignSystemPage.tsx"

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_public_layout toneBlue
class node_properties_page,node_operation_pages,node_detail_page,node_property_grid,node_property_card,node_search_bar,node_repository,node_property_data,node_property_model toneAmber
class node_home,node_sell_page,node_selling_form,node_contact_page,node_contact_form,node_about_page,node_content_data,node_stats_section toneMint
class node_section_primitives,node_reveal,node_motion_variants,node_seo,node_design_system toneRose
class node_visitor toneIndigo
```

## Components

### Site routing

- [Route application](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/App.tsx): `src/App.tsx`
- [Public shell](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/layouts/PublicLayout.tsx): `src/layouts/PublicLayout.tsx`

### Property discovery

- [Properties page](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Properties/PropertiesPage.tsx): `src/pages/Properties/PropertiesPage.tsx`
- [Buy / rent pages](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Comprar/ComprarPage.tsx): `src/pages/Comprar/ComprarPage.tsx`
- [Property detail](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/PropertyDetail/PropertyDetailPage.tsx): `src/pages/PropertyDetail/PropertyDetailPage.tsx`
- [Property grid](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/property/PropertyGrid.tsx): `src/components/property/PropertyGrid.tsx`
- [Property card](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/property/PropertyCard.tsx): `src/components/property/PropertyCard.tsx`
- [Search controls](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/property/SearchBar.tsx): `src/components/property/SearchBar.tsx`
- [Property repository](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/repositories/properties.repository.ts): `src/repositories/properties.repository.ts`
- [Local properties](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/data/properties.ts): `src/data/properties.ts`
- [Property model](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/types/property.ts): `src/types/property.ts`

### Business pages

- [Home page](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Home/HomePage.tsx): `src/pages/Home/HomePage.tsx`
- [Sell page](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Sell/SellPage.tsx): `src/pages/Sell/SellPage.tsx`
- [Selling inquiry](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Sell/SellingForm.tsx): `src/pages/Sell/SellingForm.tsx`
- [Contact page](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Contact/ContactPage.tsx): `src/pages/Contact/ContactPage.tsx`
- [Contact inquiry](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/Contact/ContactForm.tsx): `src/pages/Contact/ContactForm.tsx`
- [About page](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/About/AboutPage.tsx): `src/pages/About/AboutPage.tsx`
- [Site content data](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/data/services.ts): `src/data/services.ts`
- [Statistics section](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/sections/Stats.tsx): `src/components/sections/Stats.tsx`

### Shared presentation

- [Section primitives](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/layout/Section.tsx): `src/components/layout/Section.tsx`
- [Reveal animation](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/components/ui/Reveal.tsx): `src/components/ui/Reveal.tsx`
- [Motion variants](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/animations/variants.ts): `src/animations/variants.ts`
- [Page metadata](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/lib/seo.ts): `src/lib/seo.ts`
- [Design showcase](https://github.com/nicoronco2/demo-inmobiliaria/blob/main/src/pages/DesignSystem/DesignSystemPage.tsx): `src/pages/DesignSystem/DesignSystemPage.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Route application: opens
- Route application → Public shell: routes through (evidence: `src/App.tsx`)
- Route application → Home page: routes to (evidence: `src/App.tsx`)
- Route application → Properties page: routes to (evidence: `src/App.tsx`)
- Route application → Buy / rent pages: routes to (evidence: `src/App.tsx`)
- Route application → Property detail: routes to (evidence: `src/App.tsx`)
- Route application → Sell page: routes to (evidence: `src/App.tsx`)
- Route application → Contact page: routes to (evidence: `src/App.tsx`)
- Route application → About page: routes to (evidence: `src/App.tsx`)
- Route application → Design showcase: routes to (evidence: `src/App.tsx`)
- Public shell → Site visitor: presents shell
- Home page → Property repository: requests properties (evidence: `src/pages/Home/HomePage.tsx`)
- Home page → Property grid: renders (evidence: `src/pages/Home/HomePage.tsx`)
- Properties page → Property repository: requests properties (evidence: `src/pages/Properties/PropertiesPage.tsx`)
- Properties page → Property grid: renders (evidence: `src/pages/Properties/PropertiesPage.tsx`)
- Properties page → Search controls: renders (evidence: `src/pages/Properties/PropertiesPage.tsx`)
- Buy / rent pages → Property repository: requests properties (evidence: `src/pages/Comprar/ComprarPage.tsx`)
- Buy / rent pages → Property grid: renders listings (evidence: `src/pages/Comprar/ComprarPage.tsx`)
- Property detail → Property repository: looks up property (evidence: `src/pages/PropertyDetail/PropertyDetailPage.tsx`)
- Property repository → Local properties: reads (evidence: `src/repositories/properties.repository.ts`)
- Property repository → Property model: uses contract (evidence: `src/repositories/properties.repository.ts`)
- Property grid → Property card: renders
- Sell page → Selling inquiry: renders (evidence: `src/pages/Sell/SellPage.tsx`)
- Contact page → Contact inquiry: renders (evidence: `src/pages/Contact/ContactPage.tsx`)
- About page → Statistics section: renders (evidence: `src/pages/About/AboutPage.tsx`)
- About page → Page metadata: sets metadata (evidence: `src/pages/About/AboutPage.tsx`)
- Contact page → Page metadata: sets metadata (evidence: `src/pages/Contact/ContactPage.tsx`)
- Buy / rent pages → Page metadata: sets metadata (evidence: `src/pages/Comprar/ComprarPage.tsx`)
- Home page → Site content data: uses services (evidence: `src/pages/Home/HomePage.tsx`)
- Statistics section → Site content data: reads statistics (evidence: `src/components/sections/Stats.tsx`)
- Reveal animation → Motion variants: uses (evidence: `src/components/ui/Reveal.tsx`)
- Home page → Section primitives: uses sections (evidence: `src/pages/Home/HomePage.tsx`)
- Design showcase → Section primitives: showcases (evidence: `src/pages/DesignSystem/DesignSystemPage.tsx`)
