4 ms·
How does it compare to Starlette? (lib FastAPI uses under the hood) I've used vanilla Starlette for recent projects and it's been great.
by holler 3y ago
How does it compare to Starlette? (lib FastAPI uses under the hood) I've used vanilla Starlette for recent projects and it's been great.
- v3ss0n 3y agoIt was based on starlette first but all functionalities are rewritten ending up in better code quality. https://github.com/orgs/litestar-org/discussions/612 https://github.com/orgs/litestar-org/discussions/612 Starlette can be considered pure server framework in the lines of CherryPy, wezurg in wsgi/sync world. Litestar is a lot more battery included with built-in integration to Sqalchemy, many other ORMs as plugin. Built-in security and authentication middleware. Join our discord, we have good community there too .
- provinzkraut 3y agoHi, Litestar maintainer here. Starlette and Litestar are very different. Starlette is closer to Flask or actually Werkzeug; A micro framework / toolkit for building apps. While we don’t aim to develop "The next Django", Litestar offers way more out of the box than Starlette and other micro frameworks.
- holler 3y agoOk that makes sense! I'll check it out. I pretty much just use Starlette + Mangum + Marshmallow for basic api functionality.