Tags
Language
Tags
January 2025
Su Mo Tu We Th Fr Sa
29 30 31 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1
Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
SpicyMags.xyz

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

Posted By: lucky_aut
Creating an API server in Rust with Actix, SQLx and JWT

Creating an API server in Rust with Actix, SQLx and JWT
Published 1/2025
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Language: English | Duration: 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.

Who this course is for
Programmers curios about creating REST API servers and other projects using Rust
Beginner Rust developers looking to use the Actix Web framework
Beginner Rust developers looking to use SQLx for database interactions