A sophisticated real estate investment analysis platform that helps investors make data-driven decisions using AI-powered insights and comprehensive financial metrics.
- Comprehensive financial calculations including:
- Cash flow projections
- Cap rate analysis
- ROI calculations
- Monthly/annual expense breakdowns
- Mortgage payment calculations
- Market Sentiment Analysis: Real-time market trends and investment outlook
- Ultra-Think Analysis: Deep investment analysis with pros and cons
- Demographics Research: Population and income statistics for target areas
- Risk Assessment: Comprehensive risk evaluation with mitigation strategies
- Side-by-side property comparison
- Export analysis to JSON/TXT formats
- Save and track multiple deals
- Customizable investment parameters
- Clean, professional interface with soft grey gradients
- Responsive design for all devices
- Intuitive user experience
- Real-time analysis updates
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:
- Custom test suite with 16+ unit tests
- API endpoint testing
- Financial calculation validation
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/CodeBalch25/dealflow.git
cd dealflow- Install dependencies:
npm install
cd client && npm install
cd ..- Set up environment variables:
Create a
.envfile 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- Start the development servers:
npm run devThis will start:
- Backend server on http://localhost:5000
- Frontend client on http://localhost:3000
- Sign Up/Login to create an account
- Navigate to the Analyzer page
- Enter property details:
- Address and location
- Purchase price
- Expected monthly rent
- Down payment percentage
- Interest rate and loan term
- Operating expenses
- Click Analyze Property
- Review comprehensive analysis including:
- Financial metrics
- AI-powered insights
- Market sentiment
- Investment recommendation
- Analyze multiple properties
- Use the comparison view to see side-by-side metrics
- Export comparison data for further analysis
- View all saved properties in your Dashboard
- Track performance metrics
- Delete deals you're no longer interested in
POST /api/auth/register- Create new accountPOST /api/auth/login- User login
POST /api/properties/analyze- Analyze a propertyGET /api/properties/my-deals- Get user's saved dealsDELETE /api/properties/:id- Delete a saved deal
GET /api/health- Server status
cd dealflow
node server/tests/analyzer.test.jsDealFlow supports Model Context Protocol (MCP) for integration with AI assistants. See MCP-README.md for details.
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
This is a personal project. If you'd like to suggest improvements, feel free to open an issue.
MIT License - see LICENSE file for details
- Groq AI for ultra-fast inference
- HuggingFace for ML models
- Real estate investment community for inspiration