These two articles for Node.js and Java are tutorials that explores how to use Microsoft Azure Cosmos DB to store and access data from a Node.js Express or Java web application hosted on Azure Websites.
https://docs.microsoft.com/en-us/azure/cosmos-db/documentdb-nodejs-application
and
https://docs.microsoft.com/en-us/azure/cosmos-db/documentdb-java-application