How jotaesee/inmobiliariagestion works
This is a real-estate management application: users browse and manage properties, clients, and sales through a React interface backed by an Express API and Prisma persistence. The primary workflow is property catalog browsing and detail inspection, with related property, client, and sale creation or maintenance. The graph includes the documented client, zone, image, and sale capabilities. Backend startup and some component-to-API wiring are represented only where the index or excerpts support them; dashed links mark the inferred HTTP connection.
Main entry points: propiedades.js API client · App.js App routes · prisma.js Prisma adapter · index.js Express API
Components 24
Web application
- App routes
frontend/src/App.js - Navigation layout
frontend/src/components/Layout.js - API client
frontend/src/api/propiedades.js
Property management
- Property catalog
frontend/src/pages/Catalogo.js - Catalog filters
frontend/src/components/PropertyFilters.js - Property card
frontend/src/components/PropertyCard.js - Property details
frontend/src/pages/PropiedadDetalle.js - Property editor
frontend/src/pages/PropiedadForm.js - Property routes
backend/src/routes/propiedadRoutes.js - Property operations
backend/src/controllers/propiedadController.js
Client and zone records
- Client directory
frontend/src/pages/ClientesLista.js - Client editor
frontend/src/pages/ClienteForm.js - Client routes
backend/src/routes/clienteRoutes.js - Client operations
backend/src/controllers/clienteController.js - Zone routes
backend/src/routes/zonaRoutes.js - Zone operations
backend/src/controllers/zonaController.js
Sales and persistence
- Sales list
frontend/src/pages/VentasLista.js - Sale entry
frontend/src/pages/VentaForm.js - Express API
backend/src/index.js - Sale routes
backend/src/routes/ventaRoutes.js - Sale operations
backend/src/controllers/ventaController.js - Prisma adapter
backend/src/prisma.js - PostgreSQL
Other components
- User
Connections 35
- User → App routes: uses
frontend/src/App.js - App routes → Navigation layout: wraps routes
frontend/src/App.js - App routes → Property catalog: routes to
frontend/src/App.js - App routes → Property editor: routes to
frontend/src/App.js - App routes → Property details: routes to
frontend/src/App.js - App routes → Client directory: routes to
frontend/src/App.js - App routes → Client editor: routes to
frontend/src/App.js - App routes → Sales list: routes to
frontend/src/App.js - App routes → Sale entry: routes to
frontend/src/App.js - Property catalog → Catalog filters: renders
frontend/src/pages/Catalogo.js - Property catalog → Property card: renders
frontend/src/pages/Catalogo.js - Property catalog → API client: loads properties
frontend/src/pages/Catalogo.js - Property details → API client: loads details
frontend/src/pages/PropiedadDetalle.js - Property editor → API client: manages properties
frontend/src/pages/PropiedadForm.js - Client directory → API client: loads clients
frontend/src/pages/ClientesLista.js - Client editor → API client: manages clients
frontend/src/pages/ClienteForm.js - Sales list → API client: loads sales
frontend/src/pages/VentasLista.js - Sale entry → API client: creates sales
frontend/src/pages/VentaForm.js - API client → Property routes: HTTP requests
- API client → Client routes: HTTP requests
- API client → Zone routes: HTTP requests
- API client → Sale routes: HTTP requests
- Express API → Property routes: mounts routes
backend/src/index.js - Express API → Client routes: mounts routes
backend/src/index.js - Express API → Zone routes: mounts routes
backend/src/index.js - Express API → Sale routes: mounts routes
backend/src/index.js - Property routes → Property operations: dispatches to
backend/src/routes/propiedadRoutes.js - Client routes → Client operations: dispatches to
backend/src/routes/clienteRoutes.js - Zone routes → Zone operations: dispatches to
backend/src/routes/zonaRoutes.js - Sale routes → Sale operations: dispatches to
backend/src/routes/ventaRoutes.js - Property operations → Prisma adapter: queries
backend/src/controllers/propiedadController.js - Client operations → Prisma adapter: queries
backend/src/controllers/clienteController.js - Zone operations → Prisma adapter: queries
backend/src/controllers/zonaController.js - Sale operations → Prisma adapter: queries
backend/src/controllers/ventaController.js - Prisma adapter → PostgreSQL: connects
backend/src/prisma.js