Azure Cosmos JS SDK

1 min read azure, javascript, sdk

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/azure-cosmos-js-sdk-playground.

learn azure cosmos db javascript sdk.

Running

  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

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.