📄️ Project Structure
Understanding the default project structure in Sarus is key to maintaining clean and scalable applications. Below is an overview of how a typical Sarus project is organized.
📄️ Endpoint
A @Endpoint() in Sarus defines a class that handles HTTP routes. It's one of the core building blocks of the framework.
📄️ Middleware
Middleware in Sarus builds on top of the Shelf pipeline allows you to execute code before and after a request is processed. You can modify the inbound request and outbound responses, provide dependencies, and more!
📄️ Deployment Guide
Sarus is a Dart server framework designed for production-ready backend applications.
📄️ Environment
Sarus provides a way to manage different environments (development, production, etc.) through the sarus.yaml configuration file. This allows you to define environment-specific settings and behaviors.