dart_mongo
dart_mongo copied to clipboard
This project demonstrates how to talk to a MongoDB database using Dart.
Dart and MongoDB
This projects demonstrates how to talk to a MongoDB database.
Download and Install MongoDB
Visit https://docs.mongodb.com/manual/administration/install-community/ and select your OS for instructions.
Upload json dataset into database
-
Start your MongoDB server
mongod -
Import person.json with
mongoimportexecutablemongoimport --jsonArray -d <yourDatabaseName> -c <yourCollectionName> --file <path/To/File.json>
Run the project
Execute this command in your terminal:
dart bin/main.dart
Created from templates made available by Stagehand under a BSD-style license.