Skip to content

Course notes and Mflix project in Intro to MongoDB from MongoDB Inc. on Coursera

License

Notifications You must be signed in to change notification settings

Ziang-Lu/Intro-to-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coursera-Intro to MongoDB [MongoDB Inc.]

This repo contains course notes and Mflix project in Intro to MongoDB course from MongoDB Inc. on Coursera.

Course Environment Setup

1. MongoDB Installation and Setup

Check out https://github.com/Ziang-Lu/Database-Learning-Notes/blob/master/5-MongoDB/MongoDB.md


2. MongoDB Atlas Setup

MongoDB Atlas: Cluster that provides MongoDB hosting service

Check out https://www.mongodb.com/cloud/atlas


Play around with MongoDB Atlas:

  • Import data to MongoDB Atlas

    $ cd mflix
    $ mongoimport --type csv --headerline --file movies_initial.csv --host "Cluster0-shard-0/cluster0-shard-00-00-hanbs.mongodb.net:27017,cluster0-shard-00-01-hanbs.mongodb.net:27017,cluster0-shard-00-02-hanbs.mongodb.net:27017" --db mflix --collection movies_initial --authenticationDatabase admin --ssl --username <username> --password <password>


3. Python Environment Setup

$ pipenv --python=3.7
$ pipenv shell

# Install all the packages specified in Pipfile
$ pipenv install


MongoDB Compass

-> GUI client for MongoDB

Check out https://www.mongodb.com/products/compass



MongoDB Fundamentals

MongoDB Query Language

Check out https://github.com/Ziang-Lu/Database-Learning-Notes/blob/master/5-MongoDB/MongoDB.md

PyMongo Usage

Check out https://github.com/Ziang-Lu/Database-Learning-Notes/blob/master/5-MongoDB/pymongo_demo.py and scripting_data_cleaning.py

MongoDB Aggregation Framework

Check out the demo files for:

Function Aggregation
Filtering $match
Aggregation $group, $sortByCount, $bucketAuto
Parallel pipeline processing $facet
Projection $addFields, $project, $cond
Post-processing $sort, $limit, $skip, $out

Mflix Project

Check out mflix folder, which is the root directory of Mflix project


License

This repo is distributed under the MIT License.

About

Course notes and Mflix project in Intro to MongoDB from MongoDB Inc. on Coursera

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published