Setting Up MongoDB
Setting Up MongoDB: Setup: MongoDB, mongosh and Compass, Another Way: A Free Cluster on MongoDB Atlas, Setup for the Exercises: Node.js, Git and VS Code.
Updated
- Setup: MongoDB, mongosh and Compass (Novice): Install MongoDB Community Server, mongosh and Compass on Windows with winget or on a Mac with Homebrew, check that the server is running in the background, and connect to it with mongosh at mongodb://localhost:27017.
- Another Way: A Free Cluster on MongoDB Atlas (Novice): Make a free MongoDB Atlas cluster in the browser, with a database user and your IP address on its access list, connect mongosh and Compass to it with its mongodb+srv connection string, and stay on the Free tier so nothing costs money.
- Setup for the Exercises: Node.js, Git and VS Code (Novice): Install VS Code, the LTS version of Node.js and Git on Windows or macOS, check them with --version, make a free GitHub account, tell Git your name and email, and make the mongodb-course folder every exercise goes in.