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:
- Fluid, chainable routing. A functional style to composing your routes and its handler methods
- A CLI tool. This allows you to scaffold your next project by issuing straightforward commands
- 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.
- Has an inbuilt ORM. A must-have if you work with relational databases! Also supports database migration.
- 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.
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.