Learning Mongo-DB.
Built by unobatbayar to learn MongoDB for Semi-structured Data and Advanced Data Modelling ECS650U at Queen Mary University of London.
A free and open-source cross-platform document-oriented database
brew install mongodb
mongo
(The directory and installation has already been made for my personal computer, and I'm using a macbook pro. However, if you would like to do it for your use please refer to: https://docs.mongodb.com/manual/installation/)
MongoDB Atlas requires no payments and can be used instantly upon creating an account -> https://cloud.mongodb.com Create an username and password with Read/Write permission and use them in below code to connect directly. Make sure you add your current IP address, otherwise it will be rejected.
mongo "mongodb://airline-shard-00-00-tq7q4.mongodb.net:27017,airline-shard-00-01-tq7q4.mongodb.net:27017,airline-shard-00-02-tq7q4.mongodb.net:27017/test?replicaSet=Airline-shard-0" --ssl --authenticationDatabase admin --username <USERNAME> --password <PASSWORD>