How shubham-raj-dev/urbanshift-project works
UrbanShift combines property buying, selling, and renting with relocation bookings, provider coordination, chat, and payment. The user-facing flow runs from React routing and role-aware screens to Django REST endpoints, persisted domain records, and external authentication, email, image, and payment services. The README identifies capabilities whose implementation was not sampled; those are represented at subsystem level where the tree supports a path. Edges cite visible calls or README statements; unsampled relationships are omitted rather than inferred.
Main entry points: App.js React routes · payments/views.py Payment processing · properties/views.py Property listings and leads · relocation/views.py Move requests and reviews
Components 30
Web experience
- React routes
frontend/src/App.js - Property browsing
frontend/src/components/Properties.js - Property details
frontend/src/components/PropertyDetail.js - Create listing
frontend/src/components/AddProperty.js - Seller dashboard
frontend/src/components/SellerDashboard.js - Account screens
frontend/src/components/Register.js - Mover services
frontend/src/components/PackersMovers.js - Move booking
frontend/src/components/BookMovers.js - Move history
frontend/src/components/MyMoves.js - Company dashboard
frontend/src/components/CompanyDashboard.js - Live chat
frontend/src/components/Chat.js - Theme preferences
frontend/src/context/ThemeContext.js
Accounts
- Authentication and profiles
backend/users/views.py - User records
backend/users/models.py - User serialization
backend/users/serializers.py - Email notifications
backend/users/utils_email.py
Property marketplace
- Property listings and leads
backend/properties/views.py - Property records
backend/properties/models.py
Relocation services
- Move requests and reviews
backend/relocation/views.py - Move records
backend/relocation/models.py - WebSocket chat
backend/chat/consumers.py - Chat socket routing
backend/chat/routing.py
Platform services
- Payment processing
backend/payments/views.py - Transactions
backend/payments/models.py
Other components
- Buyer, seller, renter
- Razorpay
- Firebase Google Auth
- Cloudinary image storage
- PostgreSQL
- Admin
Connections 43
- Buyer, seller, renter → React routes: uses
README.md - React routes → Theme preferences: provides theme
frontend/src/App.js - React routes → Property browsing: routes to
frontend/src/App.js - React routes → Property details: routes to
frontend/src/App.js - React routes → Create listing: routes to
frontend/src/App.js - React routes → Seller dashboard: routes to
frontend/src/App.js - React routes → Account screens: routes to
frontend/src/App.js - React routes → Mover services: routes to
frontend/src/App.js - React routes → Move booking: routes to
frontend/src/App.js - React routes → Move history: routes to
frontend/src/App.js - React routes → Company dashboard: routes to
frontend/src/App.js - React routes → Live chat: routes to
frontend/src/App.js - Property browsing → Property listings and leads: requests listings
- Property details → Property listings and leads: requests property
- Create listing → Property listings and leads: submits listing
- Seller dashboard → Property listings and leads: manages listings
- Move booking → Move requests and reviews: submits booking
- Move history → Move requests and reviews: reads bookings
- Company dashboard → Move requests and reviews: manages requests
- Live chat → WebSocket chat: opens chat
- Chat socket routing → WebSocket chat: routes socket
backend/chat/routing.py - Account screens → Firebase Google Auth: authenticates with
- Account screens → Authentication and profiles: posts Google token
- Authentication and profiles → User serialization: serializes users
backend/users/views.py - User serialization → User records: creates and updates
backend/users/serializers.py - Authentication and profiles → Email notifications: sends notifications
backend/users/views.py - Property listings and leads → Property records: reads and writes
backend/properties/views.py - Property listings and leads → Email notifications: notifies users
backend/properties/views.py - Move requests and reviews → Move records: reads and updates
backend/relocation/views.py - Move requests and reviews → Email notifications: sends notifications
backend/relocation/views.py - Property details → Payment processing: starts payment
- Payment processing → Razorpay: creates and verifies
backend/payments/views.py - Payment processing → Transactions: records payment
backend/payments/views.py - Payment processing → Move records: marks move paid
backend/payments/views.py - Payment processing → Property records: marks property sold
backend/payments/views.py - Payment processing → Email notifications: sends receipt notices
backend/payments/views.py - Create listing → Cloudinary image storage: uploads images
- Admin → Property records: reviews listings
- Admin → User records: verifies sellers
- User records → PostgreSQL: persists
- Property records → PostgreSQL: persists
- Move records → PostgreSQL: persists
- Transactions → PostgreSQL: persists