Azure-Samples / cosmos-db-nosql-rust-quickstart

Quickstart application template for Azure Cosmos DB for NoSQL and Rust
MIT License
0 stars 1 forks source link

Quickstart: Azure Cosmos DB for NoSQL client library for Go

This is a simple web application to illustrate common basic usage of Azure Cosmos DB for NoSQL's client library for Rust. This sample application accesses an existing account, database, and container using the azure_data_cosmos and azure_identity crates.

Prerequisites

Quickstart

  1. Log in to Azure Developer CLI.

    azd auth login

    [!TIP] This is only required once per-install.

  2. Initialize this template (cosmos-db-nosql-rust-quickstart) using azd init

    azd init --template cosmos-db-nosql-rust-quickstart
  3. Ensure that Docker is running in your environment.

  4. Use azd up to provision your Azure infrastructure and deploy the web application to Azure.

    azd up
  5. Observed the deployed web application

    Screenshot of the deployed web application.