Skip to content

AzureCosmosDB/quickstart-nosql-python

Repository files navigation

Quickstart - Azure Cosmos DB for NoSQL - Python

Sample Python Flask web application using Azure Cosmos DB for NoSQL.

Task Link
Downloaded latest source code https://github.com/azurecosmosdb/quickstart-nosql-python/releases/latest/download/project.zip
Open in GitHub Codespaces https://codespaces.new/AzureCosmosDB/quickstart-nosql-python?template=true&quickstart=1

Run this

  1. Replace the credentials in cosmos.py with your Azure Cosmos DB for NoSQL account's credentials.

  2. Start the application:

    pip install -r requirements.txt
    python app.py