A personal property-analysis prototype combining financial calculations with LLM commentary.
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.
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.
- Comprehensive financial calculations including:
- Cash flow projections
- Cap rate analysis
- ROI calculations
- Monthly/annual expense breakdowns
- Mortgage payment calculations
- 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
- 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:
- Calculator test file:
server/tests/analyzer.test.js - Test results were not executed or verified during this documentation review.
npm testcurrently exits with a placeholder error; it is not a configured test runner.
- A currently supported Node.js release, version 18 or higher as required by Express 5. See the Express migration guide.
- npm or yarn
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.
- 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 devIntended local endpoints, not verified during this review:
- 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.jsThe 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.
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.
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.
- Groq AI for ultra-fast inference
- HuggingFace for ML models
- Real estate investment community for inspiration