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.
-
Log in to Azure Developer CLI. This is only required once per-install.
azd auth login
-
Initialize this template (
cosmos-db-table-nodejs-quickstart
) usingazd init
azd init --template cosmos-db-table-nodejs-quickstart
-
Ensure that Docker is running in your environment.
-
Use
azd up
to provision your Azure infrastructure and deploy the web application to Azure.azd up
-
Observed the deployed web application
-
(Optionally) Run this web application locally in either the
src/js
orsrc/ts
folders:npm install npm run dev