Posts

Showing posts from June, 2023

Azure Cosmos DB: Using Node.js and @azure/cosmos to perform Read/Write Operations with Azure Cosmos DB

Image
I n this article, we will implement the Azure Cosmos DB operations using Node.js by creating REST APIs using Express.js. As we all know  that the  Azure Cosmos DB is a globally distributed, multi-model database service that supports document, key-value, wide-column, and graph databases. Large scale data collection applications always prefer to store the structured and unstructured data in globally distributed databases. This provides the great advantage of data availability, scalability and accessibility.   While developing JavaScript full-stack applications, developers always faces challenge of using JavaScript object model to connect to such a huge database service for performing read/write operations. To address this challenge, the  Azure Cosmos DB Client Library (@azure/cosmos)  is provided which can be used for following operations Create the Cosmos DB databases and modify their settings Operations to Create and modify containers to store collections of JSON documents Operations t