Skip to content
@Rental-AI

Rental AI

RentalAI

RentalAI is a rental price prediction platform built with a modern microservices architecture.
It combines real estate data, statistical modeling, and interactive visualizations to help users explore rental markets and predict fair rent prices.

alt text

🚀 Demo

Live site: https://rentalai.vercel.app

🧠 Problem Overview

Housing affordability and fair rent pricing are difficult for renters and landlords to estimate. RentalAI addresses this by providing:

  • Interactive property listings with search and mapping
  • Rental price predictions based on historical data
  • Visual analytics for rent distribution and trends
  • A clear, documented architecture for developers

🏛️ System Architecture

RentalAI uses a microservices architecture where each component has a specific responsibility and can be scaled independently.

Architecture Diagram

alt text

The frontend communicates with both the main backend API and a Random Forest ML service for predictions. Data visualizations are stored in AWS S3 for efficient delivery, while MongoDB stores test and property data for the ML service.

alt text

🌍 External APIs

  • Realtor API (property listings)
  • OpenStreetMap (geolocation & mapping)

These APIs are wrapped and used for initial data seeding.

alt text

🧠 Tech Stack

🎨 Frontend

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Leaflet (maps)

🧩 Backend API

  • Flask
  • Python
  • Pandas
  • Swagger (API documentation)
  • CORS

🤖 ML Prediction Service

  • Flask
  • Scikit-learn (Random Forest)
  • NumPy
  • Pandas
  • Pickle (model serialization)
  • Jupyter Notebook

🗄️ Data & Storage

  • MongoDB (NoSQL)
  • AWS S3 (images & ml data charts)

📂 Project Structure

alt text

alt text

alt text

🛠️ API Endpoints

Backend API

Endpoint Description
GET /api/get_data Retrieve property listings
GET /api/get_rent_by_month Returns rent-over-time chart
GET /api/get_rent_distr Returns rent distribution
GET /api/get_image_paths Image paths for listings

ML Service

Endpoint Description
POST /api/get_prediction Predict rental price from features
GET /api/get_importance Feature importance visualization
GET /api/get_test_data Retrieve test dataset

Code Repository

Frontend: RentalAI/front-end

Backend API: RentalAI/backend-api-service

ML Service: RentalAI/ml-service

License

MIT © 2026 RentalAI — By Yassine Moumine

Pinned Loading

  1. front-end front-end Public

    TypeScript

  2. backend-api-service backend-api-service Public

    Python

  3. ml-service ml-service Public

    Python

Repositories

Showing 4 of 4 repositories

Top languages

Loading…

Most used topics

Loading…