Sample Java Spring web application using Azure Cosmos DB for NoSQL.
Task | Link |
---|---|
Downloaded latest source code | https://github.com/azurecosmosdb/quickstart-nosql-java/releases/latest/download/project.zip |
Open in GitHub Codespaces | https://codespaces.new/AzureCosmosDB/quickstart-nosql-java?template=true&quickstart=1 |
-
Replace the credentials in src/main/java/com/microsoft/learn/azure/cosmosdb/nosql/quickstart/CosmosConfiguration.java with your Azure Cosmos DB for NoSQL account's credentials.
-
Start the application:
mvn clean install mvn spring-boot:run