|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/r-plumber/
课程评论:没有评论
课程名称:R Plumber - 从零基础构建和托管API 课程概述: 本课程将引导学员使用R语言中的Plumber包开发和托管自己的API,适合零基础学员。课程涵盖了网络基础和R Plumber包的所有基本概念,从一个空的项目逐步迭代到一个基于真实场景的生产级API。课程内容将快速进入实践,包括大量的编程实践、测试、测验和作业。在优化和保护API后,学员将亲身体验其强大功能,并与预构建的前端框架进行集成。最后,学员将通过Digital Ocean和AWS云服务将API在线部署,并使用Cloudflare配置自定义域名。 课程中每一个实践练习都旨在提高学员对Plumber的理解,从简单的端点设计开始,逐步处理高级API请求和功能。例如,学员将设计端点以搜索和预订航班,并显示仅限航空公司内部团队查看的乘客人数和可视化信息。课程不仅教授编码技巧,还提供必要的理论基础,以帮助学员理解如何实现这些功能,无论是在Plumber还是REST API的世界中。 我们也会积极监控课程的问答环节,为学员解答关于Plumber和API运行的任何疑问,非常期待看到学员们的作品! 课程实践应用场景包括: - 了解REST API和托管服务 - 应用API开发的最佳实践和约定 - 从R Shiny迁移而来,同时保持相同的R代码和功能 - 前端和后端组件的关注点分离,但能轻松集成 - 为个人或商业网站构建后端 - 设计公司内部的数据仪表板平台,如客户数据平台(CDP) - 用现代、安全和复杂的端点替换旧版API - 开发快速的概念验证,以展示用R构建的新模型、算法和可视化 - 使现有R功能能够与互联网连接(例如,将Slack命令与R函数集成) 课程内容涵盖: - REST API基础 - 使用命令行库CURL发送API请求 - 设置Plumber项目 - Plumber端点(静态和动态路由) - 本地运行和测试我们的API - Swagger API文档 - 处理参数数据类型 - 查询/路径/主体请求参数 - 数据序列化(如HTML、图像、交互式图表和CSV格式) - REST API方法类型 - 响应状态码 - API安全 - 预处理任务,如日志记录和基于过滤器的访问控制 - 通过API密钥实现身份验证 - 函数异步处理 - 与前端文件的集成 - 将我们的API部署到Digital Ocean和AWS上! - 配置自定义域名 通过本课程,学员将获得打造高效、安全API所需的知识和技能。
Start developing and hosting your own APIs with the Plumber package in R!This course, assuming zero knowledge of APIs, covers all the fundamental concepts behind networking and the R Plumber package, gradually iterating from a blank project, to a production-grade API based on a real-life scenario. You'll get hands-on pretty quickly, with tons of applied coding, testing, quizzes and assignments. Once you have optimised and secured your API, you'll observe first hand its power as you integrate with a pre-built frontend framework. Finally, you will deploy your API live on the internet, using both the Digital Ocean and AWS cloud services, before configuring your custom domain name with Cloudflare.Each practical exercise aims to improve your Plumber knowledge, starting with simple endpoints all the way to handling advanced API requests and features. For example, you'll design endpoints in order to search and book flights, as well as display passenger numbers and visualisations strictly to the airline's internal team only. But the course doesn't simply tell you how to code - we always provide all the theoretical groundings needed for you to understand why and how to implement such functionality, whether that be in the Plumber or REST API world. Support is always there if you need it too, as we'll be actively monitoring the course's Q & A section to answer your queries on Plumber and running the API.We can't wait to see what you can build!Some of the practical use cases to taking this course and creating Plumber APIs include:Gaining knowledge of REST APIs and hosting providersApplication of best practices and conventions for API developmentMoving away from R Shiny whilst keeping the same R code and functionalitySeparation of concerns of frontend and backend components, though allowing for easy integrations between them Building a backend for a personal or business websiteDesigning a company-internal dashboarding platform, such as a Customer Data Platform (CDP)Replacing legacy APIs with modern, secure and sophisticated endpointsDeveloping a quick proof-of-concept to demonstrate new models, algorithms and visualisations built in RAllowing existing R functionality to connect with the internet (such as integrating a Slack command to an R function)The course covers:Basics of REST APIsSending API requests using the command line library CURLSetting up a Plumber projectPlumber endpoints (static and dynamic routes)Running and testing our API locallySwagger API DocumentationHandling parameter data typesQuery / path / body request parametersSerialization (such as HTML, images, interactive plots and CSV formats)REST API method typesResponse status codesAPI securityPre-processing tasks such as logging and gatekeeping using filtersAuthentication via API keysFunction asynchronyIntegration with frontend filesDeploying our API onto Digital Ocean and AWS!Configuring a custom domain