Skip to content

Real estate price prediction API with pre-trained model

License

Notifications You must be signed in to change notification settings

meetmatt/real-estate-price

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Estate Price

Real estate price prediction app.

HowTo

Pre-requisites: Docker.
Trains the model, builds the frontend React app and runs everything: make run.
Smoke test the API with make test-api.

Architecture

There are two applications: Python Backend and React Frontend. Frontend also acts as a reverse proxy for the /api route.

Backend

The backend app has two sub-modules: the JSON REST API that's served by the FastAPI, and an ML model training script. The training script is very coupled to the sample dataset. The model is trained during docker build. See Backend Dockerfile for details.

Frontend

Frontend is a simple Vite+React+TypeScript app, built during docker build (see Frontend Dockerfile for details) served by an nginx container (see nginx config). Nginx also forwards all requests to /api route down to backend container.

TODO

  • Fix local dev environment to be able to submit form from frontend to backend container without messing with production setup.

About

Real estate price prediction API with pre-trained model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published