Pre-requisite

  • MongoDB 3.2 is installed
  • Mongod running

Import sample tutorial data

cli command

  • mongoimport --db tutorial --collection companies --file companies.json

Connect to DB

cli command

  • mongo
  • show dbs
  • use tutorial

Sample Data

  • The sample data is a collection of tech companies with 18801 documents.
  • Review 'sample-document.json' to see the format of documents