Programming Videos

  • View all videos
  • blank
  • Introduction to MongoDB
    To run the application locally, in your terminal run the command
    mongod
    and in a separate terminal run
    nodemon app.js

    MongoDB Installation Steps

    If on a Windows computer you can read about the installation here. If on a Mac, install Homebrew and run

    brew install mongodb
    mkdir -p /data/db
    sudo chown -R <USERNAME> /data/db
    You can read more about the installation on the MongoDB website.

    Resources

    Official MongoDB Quick Start Guide Collection API: e.g. find(), insertOne(), etc. Connecting and Working with MongoDB with Node & Express Node.js body parser module
    mrdaniel published this on 7/14/16 | nodejs, mongodb
    Comments
    Log in to submit a comment.