使用 Azure Cosmos DB 的 API for MongoDB 创建 Angular 应用Create an Angular app with Azure Cosmos DB's API for MongoDB

本教程包含多个部分,演示了如何通过 Express 和 Angular 创建以 Node.js 编写的新应用,然后将其连接到使用 Cosmos DB 的 API for MongoDB 配置的 Cosmos 帐户This multi-part tutorial demonstrates how to create a new app written in Node.js with Express and Angular and then connect it to your Cosmos account configured with Cosmos DB's API for MongoDB.

Azure Cosmos DB 是 21Vianet 提供的多区域分布式多模型数据库服务。Azure Cosmos DB is 21Vianet's multiple-region distributed multi-model database service. 可以通过它来快速创建和查询文档,它们都受益于 Cosmos DB 核心的多区域分布和水平缩放功能。It enables you to quickly create and query document that benefit from the multiple-region distribution and horizontal scale capabilities at the core of Cosmos DB.

本教程分为多个部分,涵盖以下任务:This multi-part tutorial covers the following tasks:

完成的项目Finished project

本教程介绍生成应用程序的各个步骤。This tutorial walks you through the steps to build the application step-by-step. 若要下载完成的项目,可从 GitHub 上的 angular-cosmosdb 存储库获取完成的应用程序。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:

  • 大致了解使用 Azure Cosmos DB 创建 MEAN.js 应用的步骤。Seen an overview of the steps to create a MEAN.js app with Azure Cosmos DB.

你可以转到本教程的下一部分,了解如何创建 Node.js Express 应用。You can proceed to the next part of the tutorial to create the Node.js Express app.