使用 Microsoft Graph 生成 Ruby on Rails 应用

本教程指导你如何生成 Ruby on Rails Web 应用,该应用使用 Microsoft Graph API 检索用户的日历信息。This tutorial teaches you how to build a Ruby on Rails web app that uses the Microsoft Graph API to retrieve calendar information for a user.

提示

如果你更喜欢仅下载已完成的教程,可以通过两种方式下载它。If you prefer to just download the completed tutorial, you can download it in two ways.

先决条件Prerequisites

在开始本教程之前,应在开发计算机上安装以下工具。Before you start this tutorial, you should have the following tools installed on your development machine.

你还应该拥有具有邮箱的个人 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:

备注

本教程使用所需工具的以下版本编写。This tutorial was written with the following versions of the required tools. 本指南中的步骤可能与其他版本一起运行,但尚未经过测试。The steps in this guide may work with other versions, but that has not been tested.

  • Ruby 版本 2.6.6。Ruby version 2.6.6.
  • SQLite3 版本 3.31.1SQLite3 version 3.31.1
  • Node.js版本 14.15.0Node.js version 14.15.0
  • 花色版本 1.22.0Yarn version 1.22.0

反馈Feedback

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