Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
Clone or download
joeconwaystk Changes order of generated migration commands to defer foreign key ma…
…nipulation until after all tables are created (#589)

* defer foreign keys and multi uniques until after table creation when generating migrations

* wip

* wip

* wip

* tests for schema building equivalency

* move tests for migration into a better system

* wip

* prevents columns from being both autoincrement and default

* allow migrations without unencoded initial value, don't generate it

* warn user if they should use an unencoded initial value

* migration tests

* update tests

* fix error message, test, api ref

* fix test

* Defer creation of foreign keys until after table creation when generating migrationc ode
Latest commit 5bf5bfd Nov 14, 2018



OSX/Linux Build Status Windows Build status codecov


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.

Getting Started

  1. Install Dart.

  2. Activate Aqueduct

     pub global activate aqueduct
  3. 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.

Tutorials, Documentation and Examples

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.