https://github.com/080bct12alex/nepalestate
A real estate price prediction web app using machine learning, Next.js and Flask
https://github.com/080bct12alex/nepalestate
flask-api mlp-regresor nextjs scikit-learn
Last synced: 11 months ago
JSON representation
A real estate price prediction web app using machine learning, Next.js and Flask
- Host: GitHub
- URL: https://github.com/080bct12alex/nepalestate
- Owner: 080bct12alex
- Created: 2025-04-21T08:28:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-22T17:14:44.000Z (11 months ago)
- Last Synced: 2025-07-22T19:11:54.089Z (11 months ago)
- Topics: flask-api, mlp-regresor, nextjs, scikit-learn
- Language: Jupyter Notebook
- Homepage: https://nepalestate.vercel.app
- Size: 743 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🏠 Real Estate Price Prediction Of Kathmandu Valley
A modern web application that predicts real estate prices in Nepal's Kathmandu Valley using machine learning. Built with a **Next.js frontend** and a **Flask backend**, this app provides real-time price estimates based on property details.
# 🌐 [Live Website](https://nepalestate.vercel.app)
---
> 🔗 **Backend GitHub Repository**
> - Backend: [NepalEstate API](https://github.com/080bct12alex/NepalEstate_API)
---
## 🔍 Features
- **Price Prediction:** Predict property prices based on:
- Number of floors
- Area (Anas)
- Road width (ft)
- City (Kathmandu, Bhaktapur, or Lalitpur)
- Road type (Blacktopped, Gravelled, or Soil Stabilized)
- **Responsive Design:** Built with Next.js and Tailwind CSS for modern, mobile-friendly UI
- **Interactive Form:** Simple and intuitive user inputs
- **Real-time Predictions:** Instantly receive price estimates using a trained `MLPRegressor` machine learning model after evaluating different models
---
---
## 🛠️ Technology Stack
- **Frontend:** Next.js
- **Backend:** Flask, scikit-learn
- **Machine Learning:** MLPRegressor (`scikit-learn`)
> 🔗 **GitHub Repository**
> - Backend: [NepalEstate API](https://github.com/080bct12alex/NepalEstate_API)
---
## 📦 Running on Local Device
To run the project locally on your device:
---
## ⚙️ Installation and Setup
### ✅ Prerequisites
- [Node.js](https://nodejs.org/) (LTS version recommended)
- [Python 3.13](https://www.python.org/) or compatible
- Git
### 🔧 Backend Setup
```bash
# Clone the repository
https://github.com/080bct12alex/NepalEState.git
# Navigate to Flask server
cd api
# Create and activate virtual environment
python -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run Flask server
python app.py
The Flask backend runs at: http://127.0.0.1:5001
💻 Frontend Setup
# Install dependencies
npm install
# Start development server
npx next dev
The Next.js frontend runs at: http://localhost:3000
🚀 Usage
Make sure both frontend and backend servers are running.
Open your browser and go to http://localhost:3000.
Fill in the property details:
Number of floors
Area in Anas
Road width in ft
Select a city
Select road type
Click the "Predict Price" button.
View the estimated property price on the screen.