Build API Servers with Rust and Actix

所在平台: Udemy

课程主页: https://www.udemy.com/course/learn-rust-actix-web-and-sqlx/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 使用 Rust 和 Actix 构建 API 服务器 **课程概述:** 本课程旨在帮助学员深入理解 Actix Web 的架构、核心功能和强大能力。通过实践,学员将学会如何设置和初始化 Actix Web 服务器,创建响应请求的路由处理器,以及构建类型安全的提取器来接收参数。课程还将涵盖如何处理路由处理器过程中可能出现的错误。 此外,课程将教授 Sqlx 的使用方法,包括如何连接到 PostgreSQL 数据库(通过 Docker 镜像),并执行 CRUD(创建、读取、更新、删除)操作。学员还将学习如何在 Sqlx 中进行数据库事务处理,以及如何在中途退出事务以应对错误。Sqlx 的数据库迁移功能也会被详细讲解,使学员能够根据数据需求的变化来创建和修改数据库 schema。 课程强调 API 服务器的良好架构设计,包括代码的分离、封装和低耦合,以提升应用程序的可维护性和扩展性。学员将通过一个大型、真实世界的 Twitter API 克隆项目,获得实际操作经验,深入了解 Actix Web 的路由、提取器、响应器、错误处理、Sqlx 查询等关键技术。 所有课程项目均使用 Docker 镜像进行构建,确保 Actix Web 服务器和 PostgreSQL 数据库的便捷部署和集成。

课程评论(0条)

课程详情

Get a conceptual understanding of Actix Web's architecture and learn about its many features and capabilities.Learn how to setup and initialize an Actix Web Server. Learn how to build Route Handlers that respond to requests. Create unique Extractors to receive parameters in a type safe way. Handle Errors that may occur during Route Handler processing.Understand how SqlX works and how to query databases. Use SqlX to connect to Postgres, through a Docker image, and do CRUD operations like select, insert, update, and delete. Learn how to perform transactions in SqlX and how to exit a transaction early if an error occurs. Also learn about SqlX's database migration capabilities, so that you can create and modify schema as data needs change.Learn how to structure an Api Server. Creating Separation of Concerns, Encapsulation, and loose coupling of code. This will enhance your ability to continue building on the original application.Gain practical understanding on the code base for a large and realistic Twitter Api clone. We will be diving deep into Actix Web Routing, Extractors, Responders, Error Handling, SqlX queries, and more.All Course projects are built using Docker images containing both the Actix Web Server and Postgres database as needed for the lessons.

课程标签

0人关注该课程

主题相关的课程