News for hackers. Stuff that matters.
Re:Ask HN: Are you happy you chose FastAPI over Flask/Django... by ps256 on Sunday November 19, 2023 @05:12AM (#38331156)
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.
Re:Ask HN: Are you happy you chose FastAPI over Flask/Django... by extasia on Sunday November 19, 2023 @07:02AM (#38331851)
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.
Re:Ask HN: Are you happy you chose FastAPI over Flask/Django... by vasili111 on Sunday November 19, 2023 @09:38AM (#38332999)
Is library ecosystem better for FastAPI?
Re:Ask HN: Are you happy you chose FastAPI over Flask/Django... by extasia on Sunday November 19, 2023 @01:16PM (#38335760)
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).
Re:Ask HN: Are you happy you chose FastAPI over Flask/Django... by nextworddev on Sunday November 19, 2023 @10:01AM (#38333229)
What are the best ways to deploy fastapi products for production?