Aqueduct is a modern Dart HTTP server framework. The framework is composed of libraries for handling and routing HTTP requests, object-relational mapping (ORM), authentication and authorization (OAuth 2.0 provider) and documentation (OpenAPI). These libraries are used to build scalable REST APIs that run on the Dart VM.
If this is your first time viewing Aqueduct, check out the tour.
-
Activate Aqueduct
pub global activate aqueduct
-
Create a new project.
aqueduct create my_project
Open the project directory in IntelliJ IDE, Atom or Visual Studio Code. All three IDEs have a Dart plugin. For IntelliJ IDEA users, there are file and code templates for Aqueduct.
Step-by-step tutorials for beginners are available here.
You can find the API reference here or you can install it in Dash.
You can find in-depth and conceptual guides here.
An ever-expanding repository of Aqueduct examples is here.
If you are migrating from Aqueduct 2.5 to Aqueduct 3.0, see the migration guide.