Easier to get started in FastAPI than Starlite? #1183
-
Would anyone care to comment on this post where someone claimed that
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Thanks for bringing this up, it's always good to know what people struggle with. I'd say that from a certain perspective, yes, it can be easier to get started with FastAPI than with Starlite. It might also be the other way around for some. Currently FastAPI does have a fairly exhaustive tutorial aimed at people with basically zero prior knowledge, so if that's you, yes, you're probably going to have an easier time. I'm currently trying to address this, but as it turns out, writing good quality tutorials on that level isn't all that easy, and, credit where it's due, Mr. Ramirez of FastAPI is really good at that. On the other hand, many things are arguably easier to do in Starlite than in FastAPI, so if you're on a level where you already know exactly what you want to do, you might have an easier time with Starlite. Although we can probably also improve in that area, by making our documentation easier to navigate. (@Jarmos-san is currently working on that!). |
Beta Was this translation helpful? Give feedback.
-
I've used FastAPI for production projects for a while now & I can attest, Starlite will be equally (if not more) easy to use as it is for FastAPI! Sure there's a slight syntax change here & there to get used to. For example the Class-based Controllers (see this "Minimal Example" for more reference on usage) differs from the traditional approach other "easier-to-use" frameworks like FastAPI or Flask used. FastAPI also relies on another framework & provide a thin wrapper API around it. And in doing so I've had to look at its source code a couple of times because the documentations were lacking a specific explanation. @Goldziher & @peterschutt has put significant effort into designing Starlite from the ground-up. The results of which are:
What's lacking is proper, easy-to-read & referable documentations. There's active work to improve it (see the "documentations overhaul" project board) & I'm working on improving the "Usage Guidelines" of the documentations as well. You can find the first PR of the many future ones there will be w.r.t to this context here - #1153. @provinzkraut is also working on drafting a tutorial application built using Starlite. These tasks are time-consuming but we hope our efforts in revamping the documentations will help everyone get started with using Starlite easier (even by a bit). And the other area where I strongly believe the community can help in making Starlite easier to use is by:
That said, there's significant work going on to release a v2 of the project soon! So expect a ton of things to change with the second major release of the project. Do provide us with feedback so that we can continuously make the project better for the community & the project's user base. |
Beta Was this translation helpful? Give feedback.
-
I like starlite, it's more systematic |
Beta Was this translation helpful? Give feedback.
Thanks for bringing this up, it's always good to know what people struggle with.
I'd say that from a certain perspective, yes, it can be easier to get started with FastAPI than with Starlite. It might also be the other way around for some.
Currently FastAPI does have a fairly exhaustive tutorial aimed at people with basically zero prior knowledge, so if that's you, yes, you're probably going to have an easier time. I'm currently trying to address this, but as it turns out, writing good quality tutorials on that level isn't all that easy, and, credit where it's due, Mr. Ramirez of FastAPI is really good at that.
On the other hand, many things are arguably easier to do in Starlite than in F…