Azure Cosmos JS SDK

learn azure cosmos db javascript sdk.


  1. provision resources
    # create group
    az group create --name group01 --location "East US"
    # create cosmos db account
    az group deployment create \
    --name cosmosdbaccountdeployment01 \
    --resource-group group01 \
    --template-file arm-templates/azure-cosmos-db-account.json \
    --parameters name="account01" location="eastus" locationName="East US" defaultExperience="DocumentDB"
  2. copy .env.sample to .env and populate with your information from Keys
  3. run npm start