Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.51 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.51 KB

Quickstart: Azure Cosmos DB for Table - Azure SDK for Node.js

This is a simple Express web application to illustrate common basic usage of Azure Cosmos DB for Table with the Azure SDK for Node.js.

Prerequisites

Quickstart

  1. Log in to Azure Developer CLI. This is only required once per-install.

    azd auth login
  2. Initialize this template (cosmos-db-table-nodejs-quickstart) using azd init

    azd init --template cosmos-db-table-nodejs-quickstart
  3. Ensure that Docker is running in your environment.

  4. Use azd up to provision your Azure infrastructure and deploy the web application to Azure.

    azd up
  5. Observed the deployed web application

    Screenshot of the deployed JavaScript web application.

    Screenshot of the deployed TypeScript web application.

  6. (Optionally) Run this web application locally in either the src/js or src/ts folders:

    npm install
    npm run dev