Skip to content

gavinleeGitHub/mongo-shell-scripting-basic-crud-operations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDBLogo

Getting Started with Mongo Shell Scripting – Basic CRUD Operations

Dependencies

What you need to run this app:

Setup

  • Clone this repo:
git clone https://github.com/kevinchisholm/mongo-shell-scripting-basic-crud-operations.git

Running the examples

Step # 1 - Start your MongoDB Server

In a terminal widow, execute this command:

mongod

Step # 2 - Run the MongoDB Shell Scrips

In a DIFFERENT terminal widow, execute these commands:

Example # 1:

mongo ex1.js

Example # 2:

mongo ex2.js

Example # 3:

mongo ex3.js

Example # 4:

mongo ex4.js

Example # 5:

mongo ex5.js

About

Getting Started with Mongo Shell Scripting – Basic CRUD Operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%