A Blog full of AI Projects

A Blog full of AI Projects

Python FastAPI with JWT Auth predicting house prices by Machine Learning using Linear Regression and logs Predictions by PostgreSQL (v3)

20-April-2026

Python FastAPI with JWT Auth using PostgreSQL serving a Machine Learning Application Predicting House Prices using Linear Regression (v3) - hosted at Vercel Cloud using Serverless Functions

This version predict the house price by size, number of rooms, year built, location and condition and saves the model in pkl. In this version the predictions are saved in a PostgreSQL database hosted at Neon

Try the demo by OpenAPI...

A Starter FastAPI + JWT Auth + PostgreSQL + ML + Linear Regression + Predicting house prices + OpenAPI / Swagger - secured by HTTPS

During the development process, I used ChatGPT for assisting with code generation and Github Copilot for code inline suggestion

DevOps by VS Code + GitHub + Vercel Cloud

The Web API at GitHub
AI - Machine Learning - Deep Learning - RAG