page_type | name | description | urlFragment | languages | products | |||
---|---|---|---|---|---|---|---|---|
sample |
Quickstart: Azure Cosmos DB for NoSQL and Azure SDK for Go |
This is a simple web application to illustrate common basic usage of Azure Cosmos DB for NoSQL and the Azure SDK for Go. |
template |
|
|
This is a simple web application to illustrate common basic usage of Azure Cosmos DB for NoSQL's client library for Go. This sample application accesses an existing account, database, and container using the azcosmos
and azidentity
packages.
-
Log in to Azure Developer CLI.
azd auth login
[!TIP] This is only required once per-install.
-
Initialize this template (
cosmos-db-nosql-go-quickstart
) usingazd init
azd init --template cosmos-db-nosql-go-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