How akankshagupta1319/proply-ai works
Proply AI is a property-price estimation web application. Users enter property characteristics on the prediction page; the page either calculates a client-side estimate or, when FastAPI mode is enabled, sends inputs to the Python backend and displays the returned estimate. The README documents backend preprocessing and Random Forest inference; the sampled backend source was not included, so those internal stages are shown as documented capabilities rather than inspected implementation. Other visible product branches include the marketing site and demo analytics.
Main entry points: predict/page.tsx Prediction page · main.py FastAPI service · api-client.ts API client · analytics/page.tsx Analytics page
Components 16
Web Experience
- Home page
src/app/page.tsx - Home sections
src/components/home/hero-section.tsx - About, FAQ, pricing
src/app/about/page.tsx
Valuation
- Prediction page
src/app/predict/page.tsx - Property form
src/components/predict/prediction-form.tsx - Result display
src/components/predict/prediction-result.tsx - Client valuation
src/lib/sample-data.ts - API client
src/lib/api-client.ts
Prediction Backend
- FastAPI service
backend/main.py - Feature preprocessing
backend/main.py - Random Forest model
backend/main.py
Analytics
- Analytics page
src/app/analytics/page.tsx - Analytics charts
src/components/analytics/charts-container.tsx - Analytics stat cards
src/components/analytics/stat-cards.tsx - Demo datasets
src/lib/sample-data.ts
Other components
- Property seeker
Connections 18
- Property seeker → Home page: opens
- Property seeker → Prediction page: enters details
README.md - Home page → Home sections: renders
src/app/page.tsx - Prediction page → Property form: renders
src/app/predict/page.tsx - Property form → Prediction page: submits inputs
src/app/predict/page.tsx - Prediction page → Client valuation: calculates fallback
src/app/predict/page.tsx - Prediction page → API client: requests prediction
src/app/predict/page.tsx - API client → FastAPI service: posts inputs
src/lib/api-client.ts - FastAPI service → Feature preprocessing: prepares features
README.md - Feature preprocessing → Random Forest model: supplies features
README.md - Random Forest model → FastAPI service: returns estimate
README.md - FastAPI service → API client: returns prediction
README.md - Prediction page → Result display: shows estimate
src/app/predict/page.tsx - Analytics page → Analytics charts: renders
src/app/analytics/page.tsx - Analytics page → Analytics stat cards: renders
src/app/analytics/page.tsx - Analytics charts → Demo datasets: reads charts data
src/components/analytics/charts-container.tsx - Analytics stat cards → Demo datasets: reads metrics
src/components/analytics/stat-cards.tsx - Property seeker → About, FAQ, pricing: browses