UC Berkeley IEEE Public Spaces
TechOps
TechOps
  • Home
    • History
    • Members
    • Projects
      • IEEE Time
      • SIEEECURE
  • Getting Started Projects
    • Getting Started with TechOps Projects
      • GitHub Setup
      • Git Workflow
      • Git Practice Assignment
      • Hardware Projects Setup
    • Web Demo Project
      • Assignment 1: HTTP Requests
      • Assignment 2: MongoDB
        • MongoDB Setup
      • Assignment 3: Frontend
        • Going through the Files
        • Modifying your Frontend
      • Assignment 4: Starting with Full Stack
        • Part 1: Adding A Form
        • Part 2: Connecting to a Live Database
    • Beginner VLSI Design Project
      • Initial Exercise: ALU
Powered by GitBook
On this page
  • Verifying your install
  • Concept Check:
  1. Getting Started Projects
  2. Web Demo Project
  3. Assignment 2: MongoDB

MongoDB Setup

PreviousAssignment 2: MongoDBNextAssignment 3: Frontend

Last updated 1 year ago

Please follow the setup guide for MongoDB Server Community Edition. Make sure you DO install the Mongo Shell.

Then install MongoDB Compass (or another similar MongoDB client):

Make sure you aren't installing Atlas CLI. We don't actually need that functionality.

Verifying your install

To make sure you've done everything correctly to set things, up, please open up MongoDB Compass and click the "connect" button. The address should say mongodb://localhost:27017

Additionally, type mongosh in a terminal (git bash, or powershell) to make sure you've installed the mongo shell properly.

Concept Check:

  • What does localhost mean? What is 27017 mean?

  • If you were to connect to a remote server (a database that's NOT on your computer), how would your URL be different?

LogoInstall MongoDBmongodb
LogoMongoDB CompassMongoDB