Blocked by CORS in FastAPI? Here's How to Fix It
November 2, 2025

Solving Cross-Origin Errors Between Your Frontend and FastAPI
Fix frustrating CORS errors in FastAPI. This guide explains what Cross-Origin Resource Sharing is and shows how to use CORSMiddleware to connect your API to a React or other frontend application securely.
Read More...
6 Essential FastAPI Middlewares for Production-Ready Apps
February 4, 2025

A guide to the 6 key middlewares for building secure, performant, and resilient FastAPI applications.
Learn how to build a production-ready FastAPI applications by implementing 6 essential middlewares. This guide covers security headers, CORS, trusted hosts, Gzip compression, process time tracking, and custom exception handling, including why their order is critical.
Read More...
Contact Me
Have a project in mind? Send me an email at hello@davidmuraya.com and let's bring your ideas to life. I am always available for exciting discussions.