AskProperty AI is an interactive, single-page real estate chatbot application built with React, TypeScript, Vite, and Tailwind CSS. It guides users through a step-by-step conversational flow—collecting location, land size, and budget—to recommend matching properties from a predefined sample dataset or via an API. The platform also visualizes market insights and agent contact details, making property discovery seamless for buyers, renters, and investors.
-
🗣️ Conversational Chatbot
- Multi-step dialogue (
intro → city → size → budget → results → connection → final) manages user input and context.
- Multi-step dialogue (
-
📍 Location Input
- Users enter city or neighborhood to filter property suggestions.
-
📏 Land Size Filtering
- Specify land size (in acres) to narrow results.
-
💰 Budget Range
- Input maximum budget (INR) for tailored matches.
-
🏘️ Sample & API Data
- Preloaded
samplePropertiesarray with location, size, price, seller, contact. getChatResponseservice stub simulates OpenRouter/OpenAI API calls.
- Preloaded
-
📊 Market Insights
- Summary cards and charts (via Recharts) display price trends and comparisons.
-
🔌 Extensible Service Layer
src/services/chatService.tsfor real API integration.
-
🌐 Responsive Design
- Mobile-first layout styled with Tailwind CSS.
-
🎨 Particle Background
tsparticlesfor interactive decorative effects.
- Framework: React + TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- Icons: lucide-react
- Background Effects: tsparticles
- Charting: Recharts (via
src/components/StatsChart.tsx) - State & Forms: React
useState,useEffect, anduseContext - API Layer: Fetch-based service in
src/services/chatService.ts - Routing: Single-page application (no router)
-
Clone the repo
git clone https://github.com/adhipatya3552/askproperty-ai.git cd askproperty-ai -
Install dependencies
npm install
-
Run Locally
npm run dev
Open:
http://localhost:5173
-
Welcome Prompt: Click "Start Chat" to begin the conversation.
-
Step-by-Step Flow:
- Provide your city or neighborhood.
- Enter desired land size.
- Specify your budget.
-
View Results: The chatbot shows matching properties with details.
-
Next Steps: Option to connect with seller or request more insights.
- Real API Integration: Update
getChatResponseinsrc/services/chatService.tswith actual LLM or backend endpoints. - Dataset: Replace
samplePropertiesinChatbot.tsxor fetch from real estate APIs. - Styling: Tweak Tailwind config or component classes in
src/index.cssand JSX files. - Add Routing: Integrate React Router for multi-page flows (e.g., dashboard, profile pages).
- Analytics: Plug in Google Analytics or Plausible via
index.html.
We welcome contributions! Please:
-
Fork this repository.
-
Create a branch:
git checkout -b feature/YourFeature
-
Commit your changes:
git commit -m "Add feature description" -
Push to GitHub:
git push origin feature/YourFeature
-
Open a Pull Request describing your improvements.