最新消息:请大家多多支持

Creating an API server in Rust with Actix, SQLx and JWT

未分类 dsgsd 12浏览 0评论

th_yQmvoRdYa40GtWU0Z5HpTsduzZhf0zIX

Published 1/2025
Created by Afaan Bilal
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Level: Beginner | Genre: eLearning | Language: English | Duration: 63 Lectures ( 2h 44m ) | Size: 1.37 GB

Build your own REST API server with the safety and performance of Rust using Actix Web, SQLx and JWT authentication.

What you’ll learn
Create a Rust project
Create a REST API server using Actix Web
Interacting with a database using SQLx
Authenticating APIs using JWT
Running database migrations using SQLx CLI

Requirements
Basic programming experience
Basic experience with the Rust programming language

Description
In this course, we’ll create a REST API server in Rust to manage a personal budget called MoneyFlow. MoneyFlow would allow us to manage categories and transactions.Using this system, we’ll be able to:Create, list, update and delete categoriesCreate, list, update and delete transactionsList all transactions by a particular categorySee total running balance and the running balance for a categoryWe’ll learn how to:Create a new Rust project using cargoBuild and run our Rust projectAdd crates and enable crate featuresWe’ll learn about basic API concepts such:Routing and HTTP methodsExtracting data from HTTP requestsInteracting with the database to query and insert dataCreating user accountsAuthentication using JWTUsing relationships between models to query and list associated dataAlong with these concepts, we’ll learn how to:Handle incoming (request) and outgoing (response) data in a type safe wayHandle CORSRate limitingCreate and run database migrationsWe’ll have an additional lecture at the end to learn how to Dockerize our API server to deploy and run it anywhere.We’ll be using the following crates:Actix Web: a powerful, pragmatic, and extremely fast web framework for Rust.SQLx: an async, pure Rust SQL crate featuring compile-time checked queries.jsonwebtoken to create and decode JWTs in a strongly typed way.serde and serde_json for serializing and deserializing Rust data structures efficiently and generically.


Password/解压密码www.tbtos.com

资源下载此资源仅限VIP下载,请先

转载请注明:0daytown » Creating an API server in Rust with Actix, SQLx and JWT

您必须 登录 才能发表评论!