使用 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 的用于 MongoDB 的 API 配置的 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 是世纪互联的快速 NoSQL 数据库,具有适合任何规模的开放式 API。Azure Cosmos DB is 21Vianet's fast NoSQL database with open APIs for any scale. 通过它,可以开发具有以下特点的新式应用:具有 SLA 支持的速度和可用性、自动和即时可伸缩性,以及适用于许多 NoSQL 引擎的开放源代码 API。It allows you to develop modern apps with SLA-backed speed and availability, automatic and instant scalability, and open source APIs for many NoSQL engines.

本教程分为多个部分,涵盖以下任务: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.