Find answers from the community

Updated 2 years ago

Logan M 8260 How is Flask vs FastApi I

@Logan M How is Flask vs FastApi? I have no experience with Python, but I started with FastApi and have moved to Gunicorn, Uvicorn, FastApi docker compose. Is Flask a better choice?
L
d
R
8 comments
From what I've read, it sounds like you are doing it correctly! FastAPI is quite new and I havent had a chance to play around with it, but it claims to be "the fastest" and "better"

I looked at some FastAPI examples and setting up a server is very similar compared to flask
Yeah, I had no clue in regards to Python or anything. I am a fullstack javascript developer. But I am loving FastApi!

And it was easy setting up workers and threads with gunicorn - and feeding everything into docker compose. Using SvelteKit front-end. Really loving that all of this has happened, will shape the future of what I work with and do I believe
Nice! And how are you liking Svelte? I've really only used react πŸ‘€
Sveltekit is, how should I put it.. The best developer experience I have ever had. Its fantastic
High praise!! I'll have to try building something with it soon πŸ’ͺ
Yeah, just ask if you hit a snag πŸ™‚ Really love the hooks they have implemented, and the fact that its a full stack framework, so you can do server to server calls, and never expose your network
fast api > flask, less boiler plate code you'll need to write. you can get what you want, much faster.
the name says it all
Add a reply
Sign up and join the conversation on Discord