Start free

Browse › Node.js - Access and Process Data

Access Document-Based Data in MongoDB by Using Node.js

Guided

Part of Node.js - Access and Process Data Topic: Programming

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this lab, you will create a utility that loads, reads, and modifies sales order data in a MongoDB database.

  1. Create a collection in MongoDB
  2. Load JSON sales order data from files into the collection
  3. Retrieve sales orders from the collection, and then modify data in the collection
  4. Add exception handling to catch errors thrown while interacting with the data

Note: Once you begin the lab, you will not be able to pause, save, or exit and then return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.

  • ⏱ About 30 minutes