Chapter 9. Mongo Dart

In the previous chapter, you learned the basics of working with MongoDB. By using MongoDB, you are leveraging a powerful database that facilitates a client-centric approach to structuring data. It’s now time to use Dart to populate the seed data that will power the Just-In-Time Airlines ticketing application.

Setting Up Your Project

In this chapter, you’ll learn how to use the MongoDB Dart client. You’ll query and write data to your MongoDB using the community package mongo_dart. Next, you will download the seed data corresponding to the data structures outlined in Chapter 7. Finally, you’ll write that data to MongoDB.

Let’s start by setting up the project for you new ticketing application. You’ll be using the tickets ...

Get Write Web Apps with Dart: Develop and Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.