Skip to content
CodeBalch25Public

About

Real Estate Investment Property Analyzer with AI-Powered Insights

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

DealFlow - AI-Powered Real Estate Investment Analyzer

A personal property-analysis prototype combining financial calculations with LLM commentary.

Current status

The public source includes a backend, deterministic calculators and a custom assistant-tool interface. Commercial deployment and end-to-end behavior were not verified during the documentation review. The client entry is a Git submodule pointer, so the frontend must be retrieved separately before the development commands can work.

The assistant-tool interface is not yet verified as a standards-compliant MCP server. The repository also tracks an environment file, a SQLite database and installed dependencies; review privacy and generated-file hygiene before reuse.

Intended feature set

The frontend feature list and usage steps below describe the existing documentation's intended interface. The separate client submodule source was not inspected during this review.

🏠 Property Analysis

  • Comprehensive financial calculations including:
    • Cash flow projections
    • Cap rate analysis
    • ROI calculations
    • Monthly/annual expense breakdowns
    • Mortgage payment calculations

🤖 AI-Powered Insights

  • Market Sentiment Analysis: LLM-generated market commentary; verify external facts before use
  • Ultra-Think Analysis: Deep investment analysis with pros and cons
  • Demographics Research: Generated area commentary, not independently verified demographic statistics
  • Risk Assessment: Exploratory risk commentary requiring human review

📊 Investment Tools

  • Side-by-side property comparison
  • Export analysis to JSON/TXT formats
  • Save and track multiple deals
  • Customizable investment parameters

🎨 Modern UI

  • Clean, professional interface with soft grey gradients
  • Responsive design for all devices
  • Intuitive user experience
  • Real-time analysis updates

Tech Stack

Frontend:

  • React 18
  • React Router v6
  • Axios for API calls
  • Modern CSS with gradients

Backend:

  • Node.js + Express
  • SQLite database
  • JWT authentication
  • Groq AI (Llama 3.3 70B)
  • HuggingFace inference

Testing:

  • Calculator test file: server/tests/analyzer.test.js
  • Test results were not executed or verified during this documentation review.
  • npm test currently exits with a placeholder error; it is not a configured test runner.

Getting Started

Prerequisites

  • A currently supported Node.js release, version 18 or higher as required by Express 5. See the Express migration guide.
  • npm or yarn

Installation

The backend imports groq-sdk and @huggingface/inference, but neither is declared in the current root package.json. Reconcile dependency declarations and validate a clean checkout before running. The commands below describe the intended development workflow, not a verified working installation.

  1. Clone the repository:
git clone https://github.com/CodeBalch25/dealflow.git
cd dealflow
  1. Install dependencies:
npm install
cd client && npm install
cd ..
  1. Set up environment variables: Create a .env file in the root directory:
PORT=5000
NODE_ENV=development
JWT_SECRET=your_jwt_secret_key
GROQ_API_KEY=your_groq_api_key
HUGGINGFACE_API_KEY=your_huggingface_api_key
  1. Start the development servers:
npm run dev

Intended local endpoints, not verified during this review:

Intended frontend workflow

Analyzing a Property

  1. Sign Up/Login to create an account
  2. Navigate to the Analyzer page
  3. Enter property details:
    • Address and location
    • Purchase price
    • Expected monthly rent
    • Down payment percentage
    • Interest rate and loan term
    • Operating expenses
  4. Click Analyze Property
  5. Review comprehensive analysis including:
    • Financial metrics
    • AI-powered insights
    • Market sentiment
    • Investment recommendation

Comparing Properties

  1. Analyze multiple properties
  2. Use the comparison view to see side-by-side metrics
  3. Export comparison data for further analysis

Managing Saved Deals

  1. View all saved properties in your Dashboard
  2. Track performance metrics
  3. Delete deals you're no longer interested in

API Endpoints

Authentication

  • POST /api/auth/register - Create new account
  • POST /api/auth/login - User login

Properties

  • POST /api/properties/analyze - Analyze a property
  • GET /api/properties/my-deals - Get user's saved deals
  • DELETE /api/properties/:id - Delete a saved deal

Health Check

  • GET /api/health - Server status

Running Tests

cd dealflow
node server/tests/analyzer.test.js

MCP Integration

The repository contains an experimental custom JSON assistant-tool interface, not a verified standards-compliant MCP server. See MCP-README.md for its implementation and interoperability limits.

Project Structure

dealflow/
├── client/                 # React frontend
│   ├── public/
│   └── src/
│       ├── components/    # Reusable components
│       ├── pages/         # Page components
│       ├── styles/        # CSS files
│       └── utils/         # API utilities
├── server/                # Express backend
│   ├── routes/           # API routes
│   ├── services/         # AI services
│   ├── tests/            # Test files
│   └── utils/            # Calculator utilities
├── dealflow.db           # SQLite database
└── package.json

Contributing

This is a personal project. If you'd like to suggest improvements, feel free to open an issue.

License

The existing README previously named MIT, while package.json declares ISC and no top-level license file was found during this review. Resolve the license before redistribution. This documentation update does not grant new license rights.

Acknowledgments

  • Groq AI for ultra-fast inference
  • HuggingFace for ML models
  • Real estate investment community for inspiration

Built by CodeBalch25 | GitHub | Portfolio

About

Real Estate Investment Property Analyzer with AI-Powered Insights

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages