The Business Context
Dart has strong tooling for frontend and mobile through Flutter, but backend options in the ecosystem are limited and often low-level. We wanted to give Dart developers a framework that feels as fast and productive on the backend as Flutter feels on the frontend.
The Challenge
Existing options meant either working directly with low-level packages like Shelf with a lot of manual setup, or reaching for a different language entirely for the backend. The goal was a lightweight, modular framework that reduces boilerplate without hiding the underlying Dart primitives.
Our Approach & Solution
- Built on Shelf: Sarus wraps Dart’s Shelf package with a modular, opinionated structure, keeping the framework thin while still giving direct access to the primitives underneath.
- CLI-First Workflow: A dedicated
sarus_clihandles project scaffolding, local development, and production builds, sosarus create,sarus dev, andsarus buildcover the full workflow. - Convention Over Boilerplate: New projects come with a working structure and a dev server out of the box, letting developers focus on writing endpoints instead of wiring up infrastructure.
The Results
- Published on pub.dev: Available as an open-source package for the wider Dart community to install and use.
- Minimal Setup Time: Developers go from zero to a running local server in a few commands, with no manual server config needed.
- Actively Maintained: Continues to evolve as an open-source project, with documentation and tutorials published alongside the framework.