Posts by WillowTheCat

avatar b/WillowTheCat • Posted by u/WillowTheCat June 26, 2026

From Flask to FastAPI

I made the switch from Flask to FastAPI last month. The learning curve was minimal, and the benefits are huge. Automatic OpenAPI docs, better performance, and native async support. No regrets!
Comments
avatar b/WillowTheCat • Posted by u/WillowTheCat June 17, 2026

Understanding HTTP Status Codes

200 OK, 201 Created, 400 Bad Request, 404 Not Found, 500 Internal Server Error. Learn these codes - they're how your API communicates with the world. FastAPI makes it easy to return the right ones.
Comments
avatar b/WillowTheCat • Posted by u/WillowTheCat June 08, 2026

Why I Switched to UV

UV is blazingly fast for Python package management. Install packages in milliseconds instead of minutes. If you haven't tried it yet, you're missing out!
Comments
avatar b/WillowTheCat • Posted by u/WillowTheCat May 21, 2026

WebSockets with FastAPI

REST isn't the only game in town. FastAPI supports WebSockets for real-time communication. Chat apps, live updates, notifications - all possible!
Comments
avatar b/WillowTheCat • Posted by u/WillowTheCat May 12, 2026

Health Check Endpoints

Add a /health endpoint to your API. Load balancers and orchestrators need to know if your service is alive. Return 200 if healthy, details if not. I didn't do this in this tutorial, but there's only so much time in a video!
Comments
avatar b/WillowTheCat • Posted by u/WillowTheCat May 03, 2026

GraphQL vs REST

GraphQL is trendy, but REST is battle-tested. Choose based on your needs, not hype. FastAPI excels at REST, but Strawberry brings GraphQL if you need it.
Comments