Creative Bracket

Build Web APIs with Aqueduct #1

A couple of months ago I wrote a series of articles based on the Aqueduct framework for Dart. We developed a RESTful API serving up a list of reading materials from a PostgreSQL database.

In this series of videos, we will develop a RESTful Web API based on Aqueduct 3 for Dart 2. The API has changed since the written article, which has introduced breaking changes.


A brief overview of Aqueduct

Aqueduct is an open-source framework for creating and deploying RESTful Web APIs on the server. It borrows concepts from Express, Hapi and even .NET Web API, offering a point of entry if you’ve used any of those other frameworks.

Here are some of the features it has:

  1. Fluid, chainable routing. A functional style to composing your routes and its handler methods
  2. A CLI tool. This allows you to scaffold your next project by issuing straightforward commands
  3. Multi-threading out of the box. Spins up multiple instances of your application via Dart’s “isolates”, scaling across all CPU cores on the server.
  4. Has an inbuilt ORM. A must-have if you work with relational databases! Also supports database migration.
  5. Has an integrated testing library. Because you need to test all the things! Plays well with tools like TravisCI.

Learn more on their website.

Here’s the full video.

Continue watching

Further reading


Sharing is caring 🤗

If you enjoyed reading this post, please share this through the various social buttons hovering on the left/top side of the screen ↖️⬆️. Also, check out and subscribe to my YouTube channel (hit the bell icon too) for videos on Dart.

Watch my Free Get started with Dart course on Egghead.io and Subscribe to my email newsletter to download my Free 35-page eBook titled Get started with Dart and to be notified when new content is released.

Like, share and follow me 😍 for more content on Dart.

Jermaine Oppong

Hello 👋, I show programmers how to build full-stack web applications with the Dart SDK. I am passionate about teaching others, having received tremendous support on sites like dev.to and medium.com for my articles covering various aspects of the Dart language and ecosystem.