2 ms·
I've just made a first project in fastAPI, and it was trivially simple compared to my previous adventures in DRF. Plus asyc from the get go, which was also plea
by djaychela 3y ago
I've just made a first project in fastAPI, and it was trivially simple compared to my previous adventures in DRF. Plus asyc from the get go, which was also pleasant. I had a task as part of this that takes 10 seconds to run, and there's a built in way to allow it to run in the background.
And the documentation is excellent.
- halfcat 3y ago> I've just made a first project in fastAPI, and it was trivially simple… My experience has been, as Seth Godin says, “the long-cut is the most direct route to get to where you seek to go” Every time I started with Django, I hated the feeling of sitting in boilerplate hell early on. Every time I started with FastAPI/Flask, I get something working quickly, then hit a wall of recreating everything that comes with Django. The only solution I’ve found is: embrace boilerplate [1], automate the boilerplate. [1] Django, or whatever batteries included framework you like (Rails, Laravel, Phoenix, etc)
- etimberg 3y agoYeah, at a past job I had to build out a way to run launchdarkly in FastAPI and it was very unpleasant. Launchdarkly only ships a sync python client so we ended up having to run it in another process to avoid blocking all requests