|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/advanced-rust-web-apis/
课程评论:没有评论
课程名称:使用 Rust 构建 Web API(高级) 课程概述:Rust 是一种系统编程语言,能够用于编写高性能的应用程序。Rust 拥有极佳的编译器,可以在开发过程中为你提供帮助。Cargo 不仅是一款包管理工具,还兼具构建工具、文档生成器等多重功能,让你日常管理 Rust 应用变得轻松。因此,Rust 连续八年被评选为 StackOverflow 上最受欢迎和最渴望的编程语言。 如果你已经具备了相当的 Web 应用开发经验,并对 Rust 有了比较深入的理解,想要超越简单的玩具应用,开始进行严肃的后端 Web 开发,这门课程正是你所需的资源。在这个课程中,我将向你展示如何在 Rust 中创建一个复杂的、完全异步的 Web 应用,能够同时提供 JSON API 和 CLI 接口。 课程内容包括: - 使用 Rocket Web 框架和 Diesel ORM 构建 REST API - 内置认证功能(用户和密码管理) - 使用 Redis 作为缓存存储 - 角色访问管理 - 日期时间字段的处理 - CLI 命令 - 日志记录 - 自动化 API 测试 通过本课程,你将获得全面的技能和知识,以在 Rust 中进行高效的 Web API 开发。
Rust is a systems programming language which you can use to write applications with high performance. It is amazingly refreshing with a very helpful compiler who is your mentor since the very beginning.Cargo is not only a package manager but also a build tool, a documentation generator and a lot more, making your every day managing Rust apps really easy.It is no wonder that for these reasons, plus many more, Rust was voted as StackOverflow's most loved and desired programming language, eight years in a row.You have already spent a good amount of time developing web applications and you have a very good understanding of Rust.You are beyond the point of simple, toy applications and you are ready to start doing some serious back-end web development and you are wondering whether Rust can be used for this purpose.You are looking for a resource that has all you need in a single place.Well, look no further! In this course i will show you how to create a complex, fully async web app in Rust that serves JSON APIs but also has a CLI interface at the same moment. We will use the Rocket web framework along with the Diesel ORM to build Rest APIs with- Authentication built-in (users and passwords)- Redis as a cache storage- Access management with roles - Handling for datetime fields- CLI commands- Logging- Automated API testing