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.
Here's the first video in the series:
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.
Subscribe to my YouTube channel for more videos covering various aspects of full-stack web development with Dart.
Like, share and follow me 😍 for more content on Dart.