Build a Node.js app for Azure Cosmos DB Core (SQL) in Visual Studio Code

Azure Cosmos DB
Visual Studio Code

Build a database app to store and query data in Azure Cosmos DB Core (SQL) by using Visual Studio Code and Node.js.

Learning objectives

In this module, you will:

  • Create a Cosmos DB Core (SQL) account
  • Build a new Node.js app in Visual Studio Code
  • Add JavaScript code to work with Cosmos DB Core (SQL)
  • Use the SDK to insert, upsert, read, and query your data


  • Visual Studio Code with Azure Databases extension installed
  • Node.js LTS installed