A Blog full of Web Projects

A Blog full of Web Projects

Python FastAPI with PostgreSQL and HTTP Basic Authentication

14-July-2026

A starter project showcasing HTTP Basic authentication. It includes OpenAPI / Swagger, SQLAlchemy, Alembic, PostgreSQL, and is hosted on Vercel Cloud with Serverless Functions using a GitHub-based CI/CD workflow

The included Vue 3 SPA supports silent authentication, allowing users to stay signed in even after refreshing the browser

Try the demo by OpenAPI...

Try the demo by Vue 3 SPA...

The project demonstrates how to build a REST API with FastAPI and PostgreSQL using HTTP Basic authentication, HTTPS, and automated database migrations

CI/CD is implemented with VS Code, GitHub, and Vercel Cloud

The Web API at GitHub

The Vue SPA at GitHub
A Blog made with Gatsby React and GraphQL