How professional-web-developer/real-estate works
This is a real-estate listing web app: visitors browse featured and popular properties, open listings, and users can register or sign in. The backend provides authentication, property queries and owner-authorized listing changes, plus image upload. The graph preserves the client’s major routed views and shared presentation components; several view implementations and backend modules were not excerpted, so their internal links are omitted where evidence is unavailable.
Main entry points: App.js Routes and pages · index.js Express server · SignIn.jsx Sign-in form · propertyController.js Property endpoints
Components 21
Web client
- Routes and pages
client/src/App.js - Navigation
client/src/components/navbar/Navbar.jsx - Landing hero
client/src/components/hero/Hero.jsx - Popular listings
client/src/components/popularProperties/PopularProperties.jsx - Featured listings
client/src/components/featuredProperties/FeaturedProperties.jsx - Listing views
client/src/components - Newsletter
client/src/components/newsletter/Newsletter.jsx - Footer
client/src/components/footer/Footer.jsx
Identity
- Registration form
client/src/components/signUp/SignUp.jsx - Sign-in form
client/src/components/signIn/SignIn.jsx - Auth state
client/src/redux/authSlice.js - Redux store
client/src/redux/Store.js - Auth endpoints
Backend/controller/authController.js
Property listings
- Property endpoints
Backend/controller/propertyController.js
Backend services
- HTTP requests
client/src/util/fetchAPI.js - Express server
Backend/index.js - Image upload
Backend/controller/uploadController.js - Token verification
Backend/middlewares/verifyToken.js
Persistent data
- Property model
Backend/models/property.js - User model
Backend/models/user.js
Other components
- Visitor
Connections 22
- Visitor → Routes and pages: opens
client/src/App.js - Routes and pages → Navigation: renders
client/src/App.js - Routes and pages → Landing hero: renders
client/src/App.js - Routes and pages → Popular listings: renders
client/src/App.js - Routes and pages → Featured listings: renders
client/src/App.js - Routes and pages → Listing views: routes to
client/src/App.js - Routes and pages → Registration form: routes to
client/src/App.js - Routes and pages → Sign-in form: routes to
client/src/App.js - Routes and pages → Newsletter: renders
client/src/App.js - Routes and pages → Footer: renders
client/src/App.js - Registration form → HTTP requests: requests
client/src/components/signUp/SignUp.jsx - Sign-in form → HTTP requests: requests
client/src/components/signIn/SignIn.jsx - Sign-in form → Auth state: dispatches login
client/src/components/signIn/SignIn.jsx - Navigation → Auth state: dispatches logout
client/src/components/navbar/Navbar.jsx - Redux store → Auth state: registers reducer
client/src/redux/Store.js - HTTP requests → Express server: HTTP calls
- Express server → Auth endpoints: mounts /auth
Backend/index.js - Express server → Property endpoints: mounts /property
Backend/index.js - Express server → Image upload: mounts /upload
Backend/index.js - Auth endpoints → User model: queries
Backend/controller/authController.js - Property endpoints → Property model: queries
Backend/controller/propertyController.js - Property endpoints → Token verification: guards writes
Backend/controller/propertyController.js