How danchik-312/oomat works
This is a real-estate agency platform: a public property and services site plus admin and staff portals, backed by an API. The main visitor flow is browsing/filtering listings, opening a property, and submitting an inquiry; staff then manage properties and applications. Other product areas include reviews, contacts, banners, construction requests, reporting, and audit history. Evidence is limited to the supplied excerpts and SOURCE INDEX; unsampled modules are represented only where the tree or index supports their subsystem.
Main entry points: App.js Route application · routes API routes · personalService.js Staff data service · CatalogPage.jsx Property catalog
Components 21
Public website
- Route application
client/src/App.js - Property catalog
client/src/pages/catalogPage/CatalogPage.jsx - Property details
client/src/pages/propertyPage/PropertyPage.jsx - Property map
client/src/components/propertyMap/PropertyMap.jsx - Inquiry form
client/src/components/contactCta/ContactCta.jsx - Public content pages
client/src/pages - Reviews display
client/src/components/reviews/Reviews.jsx
Internal portals
- Admin portal
client/src/pages/Admin - Agent and manager portal
client/src/pages/Personal
Client data access
- Catalog normalization
client/src/services/catalogService.js - Admin data service
client/src/services/adminService.js - Staff data service
client/src/services/personalService.js - HTTP client
client/src/api/client.js
API and domain
- Express API
server/src/index.js - API routes
server/src/routes - Domain controllers
server/src/controllers - Authentication middleware
server/src/middleware/authMiddleware.js - Request validation
server/src/middleware/validateMiddleware.js - Audit logging
server/src/services/auditService.js
Persistence
- Prisma database access
server/src/lib/prisma.js
Other components
- Visitor
Connections 24
- Visitor → Route application: opens site
client/src/App.js - Route application → Property catalog: routes to
client/src/App.js - Route application → Property details: routes to
client/src/App.js - Route application → Public content pages: routes to
client/src/App.js - Property catalog → Catalog normalization: loads listings
client/src/pages/catalogPage/CatalogPage.jsx - Property catalog → Property map: renders map
client/src/pages/catalogPage/CatalogPage.jsx - Property details → Catalog normalization: loads property
client/src/pages/propertyPage/PropertyPage.jsx - Property details → Property map: uses map
client/src/pages/propertyPage/PropertyPage.jsx - Route application → Inquiry form: renders CTA
client/src/App.js - Inquiry form → Staff data service: creates application
client/src/components/contactCta/ContactCta.jsx - Public content pages → Reviews display: shows reviews
client/src/pages/reviewsPage/ReviewsPage.jsx - Catalog normalization → Staff data service: fetches properties
client/src/services/catalogService.js - Staff data service → HTTP client: sends requests
client/src/services/personalService.js - Admin data service → HTTP client: sends requests
client/src/services/adminService.js - Admin portal → Admin data service: loads admin data
- Agent and manager portal → Staff data service: loads staff data
client/src/pages/Personal/pages/Manager/ManagerDashboard.jsx - HTTP client → Express API: calls API
- Express API → API routes: mounts routes
server/src/index.js - API routes → Domain controllers: dispatches handlers
server/src/routes/applications.js - API routes → Authentication middleware: protects routes
server/src/routes/applications.js - API routes → Request validation: validates requests
server/src/routes/applications.js - Domain controllers → Prisma database access: reads and writes
server/src/controllers/reviewsController.js - Domain controllers → Audit logging: records changes
server/src/controllers/reviewsController.js - Audit logging → Prisma database access: stores audit logs
server/src/services/auditService.js