/spring-boot-rest-azure-cosmos-db

Springb boot REST API with Azure Cosmos DB backend.

Primary LanguageJava

Spring Boot REST API / Cosmos DB

REST API with Cosmos DB backend

This code requires an application.properties file:

application.properties:

# Specify the DNS URI of your Azure Cosmos DB.
azure.cosmosdb.uri=https://<replace_with_your_uri>.documents.azure.com:443

# Specify the access key for your database.
azure.cosmosdb.key=<replace_with_your_key>

# Specify the name of your database.
azure.cosmosdb.database=<replace_with_your_database>