How yashsabne/rentsmart_v2 works
RentSmart is a property rental and sales platform. Seekers browse listings, inspect a property, and can pay to unlock an owner’s contact or start a conversation; owners manage listings, promote them, and review activity. Accounts, preferences, saved/recently viewed properties, and evaluation history support these flows. The graph emphasizes documented service capabilities and sampled controller responsibilities; some integrations and service-to-service links are documented in the README rather than visible in the excerpts.
Main entry points: App.jsx RentSmart app · propertyController.js Listings and discovery · paymentController.js Contact and promotion payments · authController.js Accounts and preferences
Components 26
Web client
- RentSmart app
client/src/App.jsx - Search and details
client/src/pages/PropertyBuyPage.jsx - Listing management
client/src/pages/CreateListing.jsx - Owner dashboard
client/src/pages/Dashboard.jsx
Property services
- Listings and discovery
services/property-service/src/controllers/propertyController.js - Listing actions
services/property-service/src/controllers/listingActionController.js - Saves and interactions
services/property-service/src/controllers/interactionController.js - Property evaluation
services/property-service/src/services/propertyIntelligence.service.js
Accounts and activity
- Accounts and preferences
services/auth-service/src/controllers/authController.js - User records
services/auth-service/src/models/User.js - Activity records
services/activity-service/src/controllers/activityController.js
Payments and notifications
- Contact and promotion payments
services/payment-service/src/controller/paymentController.js - Payment records
services/payment-service/src/controller/paymentHistoryController.js - Email notifications
services/notification-service/src/controller/notificationController.js - Email worker
services/notification-service/src/workers/emailWorker.js
Messaging and infrastructure
- Conversations and messages
services/chat-service/src/controllers/conversationController.js - Live chat events
services/chat-service/src/sockets/chatSocket.js - Redis operations API
services/redis-service/src/controllers/redisController.js - Redis
services/redis-service/src/config/redis.js
Other components
- Property seeker
- Property owner
- MongoDB
- Cloudinary
- Razorpay
- Brevo email API
- Property intelligence API
Connections 34
- Property seeker → RentSmart app: uses
README.md - Property owner → RentSmart app: uses
README.md - RentSmart app → Search and details: routes to
client/src/App.jsx - RentSmart app → Listing management: routes to
client/src/App.jsx - RentSmart app → Owner dashboard: routes to
client/src/App.jsx - Search and details → Listings and discovery: searches and views
README.md - Listing management → Listings and discovery: manages listings
README.md - Owner dashboard → Listing actions: manages listing state
README.md - Search and details → Saves and interactions: tracks interactions
README.md - Listings and discovery → Property evaluation: requests evaluation
services/property-service/src/controllers/propertyController.js - Listings and discovery → MongoDB: reads and writes
README.md - Listings and discovery → Cloudinary: uploads photos
README.md - Listings and discovery → Property intelligence API: evaluates properties
README.md - RentSmart app → Accounts and preferences: authenticates
README.md - Accounts and preferences → User records: reads and writes
services/auth-service/src/controllers/authController.js - Accounts and preferences → Redis operations API: stores sessions
services/auth-service/src/controllers/authController.js - Accounts and preferences → Activity records: logs activity
README.md - RentSmart app → Contact and promotion payments: pays to unlock or promote
README.md - Contact and promotion payments → Listings and discovery: fetches listing details
services/payment-service/src/controller/paymentController.js - Contact and promotion payments → Razorpay: creates and verifies orders
README.md - Contact and promotion payments → Payment records: records payments
services/payment-service/src/controller/paymentController.js - Contact and promotion payments → Activity records: logs payment events
services/payment-service/src/controller/paymentController.js - Contact and promotion payments → Email notifications: queues email jobs
README.md - Accounts and preferences → Email notifications: queues email jobs
README.md - Email notifications → Email worker: processes jobs
- Email worker → Redis: consumes queue
README.md - Email notifications → Brevo email API: sends email
README.md - RentSmart app → Conversations and messages: starts conversations
README.md - Conversations and messages → Live chat events: updates live sessions
- Conversations and messages → MongoDB: stores conversations
README.md - RentSmart app → Redis operations API: uses platform operations
README.md - Redis operations API → Redis: performs Redis operations
services/redis-service/src/controllers/redisController.js - Listings and discovery → Activity records: logs property activity
README.md - Property seeker → Property intelligence API: asks chatbot
README.md