How ahmdelsayed/egyptian-house-predictor works
The product is an Egyptian property-price estimator with a React interface and Flask prediction API. A visitor enters location, property type, area, bedrooms, and bathrooms; the form fetches model-derived options, submits the inputs, and displays an EGP estimate. The README also describes the listing-data cleaning, analysis, and model-training stages behind the saved pipeline, plus community and informational website sections. Source excerpts establish the form/API/model calls and React composition; training-stage relationships are documented in the README, not verified from notebook contents.
Main entry points: App.jsx Page composition · EstimatorForm.jsx Estimator form · app.py Flask API · house_price_model.pkl Saved prediction pipeline
Components 14
Web experience
- React entry
frontend/src/main.jsx - Page composition
frontend/src/App.jsx - Navigation
frontend/src/components/Navbar.jsx - Hero section
frontend/src/components/Hero.jsx - Community listings
frontend/src/components/Communities.jsx - About section
frontend/src/components/WhyUs.jsx - Footer
frontend/src/components/Footer.jsx
Estimation flow
- Estimator form
frontend/src/components/EstimatorForm.jsx - Form controls
frontend/src/components/ui
Prediction service
- Flask API
backend/app.py - Saved prediction pipeline
backend/house_price_model.pkl
Model preparation
- Cleaning and training
backend/house_price.ipynb
Other components
- Property seeker
- Egyptian listings dataset
Connections 15
- Property seeker → React entry: opens
README.md - React entry → Page composition: renders
frontend/src/main.jsx - Page composition → Navigation: renders
frontend/src/App.jsx - Page composition → Hero section: renders
frontend/src/App.jsx - Page composition → Estimator form: renders
frontend/src/App.jsx - Page composition → Community listings: renders
frontend/src/App.jsx - Page composition → About section: renders
frontend/src/App.jsx - Page composition → Footer: renders
frontend/src/App.jsx - Estimator form → Form controls: renders
frontend/src/components/EstimatorForm.jsx - Estimator form → Flask API: fetches options
frontend/src/components/EstimatorForm.jsx - Estimator form → Flask API: submits inputs
frontend/src/components/EstimatorForm.jsx - Flask API → Saved prediction pipeline: loads pipeline
backend/app.py - Flask API → Saved prediction pipeline: predicts price
backend/app.py - Egyptian listings dataset → Cleaning and training: analyzed
README.md - Cleaning and training → Saved prediction pipeline: trains and saves
README.md