Hacker News new | ask | show | jobs
by ps256 946 days ago
Yes, FastAPI is great for APIs. Django is still more feature rich for actual websites. I don't see a reason to pick Flask for a new project in 2023.
2 comments

Agreed, flask is nice for a student who wants to handroll a lot of code as a learning experience, but you end up reinventing the wheel unnecessarily IME. The library ecosystem for flask seems quite fractured which doesn't help.
Is library ecosystem better for FastAPI?
I would say so, although you're encouraged to use a lot of async libs which can be a pain in the ass to debug. Flasks ecosystem seemed filled with half-abandoned libraries last time I checked (2021).
What are the best ways to deploy fastapi products for production?