Skip to content

AzureCosmosDB/quickstart-nosql-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart - Azure Cosmos DB for NoSQL - Java

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

Run this

  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.

  2. Start the application:

    mvn clean install
    mvn spring-boot:run