You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Student Rental Management System — A modern Django REST API + React Single Page Application designed specifically for student accommodations, room rentals, equipment rentals, and peer-to-peer buying/selling.
Dynamic Attribute Engine: Supports specific property details including City, Area, House Type (Apartment, Sublet, Hostel, etc.), Flat Size (sqft), Rooms, Bathrooms, AC Status, and Furnishing Status.
Advanced Filtering Navbar: Dynamic, interactive filter bar embedded on the catalog page. Location filters dynamically load area recommendations based on selected cities.
Monthly Rental Billing: Housing listings automatically transition pricing units from /day to /month across search results, details pages, cart views, and payment checkout lists.
Refundable Security Deposit: Implements a standard 2-month refundable security deposit calculation automatically added to the checkout flow for housing rentals.
Custom Presentation: Eliminates e-commerce generic widgets (like quantity selectors or "add to cart") for housing listings. Replaced with direct "Rent/Buy" modals and trusted real estate signals (e.g., Verified Landlord, Physical Key Exchange, and Signed Lease Agreement).
2. 💰 Flexible Pricing & Listing Types
Listing Configurations: Supports three transaction modes:
Rent Only: Daily/monthly rental price is required; purchase price is hidden.
Buy Only (Permanent Buy): Flat purchase price is required; daily/monthly rental price is removed/hidden.
Rent & Buy: Both rental and purchase options are offered simultaneously.
Dynamic Price Ranges: Client-side filtering sliders automatically rescale their limits based on listing types (scaling up to $1,000,000 for housing purchases).
3. 💬 Direct Messaging & Real-Time Chat
Landlord Inquiry: Direct chat button on listing pages allows prospective tenants/buyers to open conversation channels immediately with listing owners.
Inbox Interface: Interactive messenger layout to retrieve, view, and send direct messages, organized dynamically by conversation threads.
4. 🔐 Dual-Auth & Admin Workflow
User Roles: Separation between Student profiles and Admin (Owner/Landlord) accounts.
Admin Access Requests: Users can apply for Admin privileges. Access request queues are managed directly through a secure workflow where superusers approve/reject applicants.
Google OAuth Support: Integrated social login buttons for quick onboarding.
5. 📊 Management & Performance Dashboards
Admin Hub: Dedicated interface for managing customer accounts, viewing active orders, validating and approving/rejecting user-submitted product listings.
Unified KPI Stats: Analytics charts showing rental revenue, transaction volume, active listings, and user registrations.
cd client
# Install packages
npm install
# Start Vite dev server
npm run dev
App UI Host: http://localhost:5173
Note: Vite proxies /api/ calls to http://localhost:8000 automatically.
🔒 Security & Optimization
Relational Validation: The backend validates price bounds based on product type prior to save, clearing redundant fields to keep DB clean.
Silent JWT Refresh: Token rotation interceptors in api.js automatically renew user access tokens before expiration without user interruption.
Bundled Styles: Large inline CSS blocks are extracted into external stylesheets, boosting hydration times and cacheability.
About
A full-stack student marketplace built with Django REST Framework & React/Vite. Allows students to rent, buy, or list products with secure payments and direct chat. Features an admin dashboard for order and product tracking.