Create a MongoDB app with Angular and Azure Cosmos DB

This multi-part tutorial demonstrates how to create a new MongoDB API app with Express, Angular, and Node.js (the MEAN stack), and connect it to your Azure Cosmos DB database. Azure Cosmos DB supports MongoDB client connections, so you can use Azure Cosmos DB in place of MongoDB, but use the same code that you use for MongoDB apps but with added benefits. These benefits from Azure Cosmos DB are easy cloud deployment, scaling, security, global replicated data, multi-model support, and super-fast reads and writes.

Azure Cosmos DB is Microsoft’s globally distributed multi-model database service. It enables you to quickly create and query document, key/value, and graph databases that benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.

This multi-part tutorial covers the following tasks:

Want to do build this same app with React? See the React tutorial video series.

Video walkthrough

Finished project

This tutorial walks you through the steps to build the application step-by-step. If you want to download the finished project, you can get the completed application from the angular-cosmosdb repo on GitHub.

Next steps

In this part of the tutorial, you've done the following:

  • Seen an overview of the steps to create a MEAN.js app with Azure Cosmos DB.

You can proceed to the next part of the tutorial to create the Node.js Express app.