使用 Microsoft Graph 生成 Angular 单页应用

本教程向您介绍如何构建一个使用 Microsoft Graph 来检索用户的日历信息的角单页面应用。This tutorial teaches you how to build an Angular single-page app that uses Microsoft Graph to retrieve calendar information for a user.

提示

如果您只想下载已完成的教程,可以下载或克隆 GitHub 存储库If you prefer to just download the completed tutorial, you can download or clone the GitHub repository.

先决条件Prerequisites

在开始本教程之前,您的开发计算机上应安装有 Node.jsBefore you start this tutorial, you should have Node.js installed on your development machine. 如果您没有 Node.js,请访问 "下载选项" 的上一个链接。If you do not have Node.js, visit the previous link for download options.

您还应具有一个个人的 Microsoft 帐户,其中包含 Outlook.com 上的邮箱,或 Microsoft 工作或学校帐户。You should also have either a personal Microsoft account with a mailbox on Outlook.com, or a Microsoft work or school account. 如果你没有 Microsoft 帐户,可以使用以下几种方法获取免费帐户:If you don't have a Microsoft account, there are a couple of options to get a free account:

备注

本教程是使用节点版本12.18.4 编写的。This tutorial was written with Node version 12.18.4. 本指南中的步骤可能适用于其他版本,但尚未经过测试。The steps in this guide may work with other versions, but that has not been tested.

观看教程Watch the tutorial

此模块已记录,在 Office 开发 YouTube 频道中可用。This module has been recorded and is available in the Office Development YouTube channel.


反馈Feedback

请在 GitHub 存储库中提供有关本教程的任何反馈。Please provide any feedback on this tutorial in the GitHub repository.