code for article pfeilbr/azure-cosmos-js-sdk-playground
learn azure cosmos db javascript sdk.
Running
- 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"
- copy
.env.sample
to.env
and populate with your information from Keys - run
npm start
Twitter • Reddit