Creating web applications such as REST APIs is the bread and butter of backend developers. Therefore, working with a web framework should be quick and easy.
Microframeworks are a great start for small projects, MVPs, or even large systems that need a REST API—including Flask and FastAPI.
I wrote an application to create, update, download, and delete news in these two frameworks. As a result, here’s my comparison of FastAPI and Flask.