Install Dependencies

npm install

Setup Mongo Database

  • Run mongod to start mongo
  • In another tab, open the mongo CLI with mongo
  • Follow these instructions to create a database and insert a temp document. (Name your database api to work with this sample app.)

Start Server

  • cd into this sample app and start the server
node app.js