Skip to content

graphicbeacon/dart_mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Start your MongoDB server

    mongod
  2. Import person.json with mongoimport executable

    mongoimport --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.

About

This project demonstrates how to talk to a MongoDB database using Dart.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages