Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

Rust Axum Production Coding (E01 - Rust Web App Production Coding)

Follow
Jeremy Chone

GitHub repo updated to Axum 0.7 https://github.com/rust10x/rustwebapp'>https://github.com/rust10x/rustwebapp'>https://github.com/rust10x/rustwebapp'>https://github.com/rust10x/rustwebapp

In this episode, we'll dive into some Rust production coding. Starting from where we left off in the Rust Axum Full Course, we'll scale it up to a productionready web application code base. Over the course of 9 chapters, we'll tackle tracing, configuration, and the model layer with PostgreSQL. Then, we'll delve into password encryption and secure web tokens, end with a JSONbased RPC implementation.

This marks the beginning of many exciting series on Rust production coding. Feel free to ask questions, provide feedback, and join us on Discord (  / discord  . Until next one, happy coding!

Episode 01 (This episode):    • Rust Axum Production Coding (E01  Ru...  
Episode 02:    • Rust SeaQuery + SQLX + ModQL (E02  ...  
Episode 03:    • Rust Workspace Production By Example ...  

More info on the Rust Web App (github, discord, and design doc): https://rust10x.com/webapp'>https://rust10x.com/webapp

Previous video Axum Full Course    • Rust Axum Full Course  Web Developme...  

GitHub Code: https://github.com/rust10x/rustwebapp'>https://github.com/rust10x/rustwebapp'>https://github.com/rust10x/rustwebapp'>https://github.com/rust10x/rustwebapp (MIT or Apache 2.0, all free to use)

Big thanks to CrabNebula (https://crabnebula.dev/) for their sponsorship.

Help support this channel about production coding in Rust:   / jeremychone  .

Content:

00:00:00 INTRO
00:01:00 E01C01 Baseline
00:09:50 E01C02 Tracing (basics)
00:14:26 E01C03 Config
00:21:17 E01C04 DB Live Reload
00:39:48 E01C05 Model 1/2 Task CRUD
01:18:55 E01C06 Model 2/2 Shared Impl
01:44:00 E01C07 Pwd Encrypt & Validation
02:22:21 E01C08 Secure Token & Web Auth
03:14:45 E01C09 RPC (JSONRPC)

#RustProgramming #RustLang #WebDevelopment #completecourse

Tech notes:

`cargo install cargowatch` If you haven't already, make sure to install Cargo Watch.
This project currently utilizes sqlx 0.6.x. Although sqlx 0.7.1 is available, it appears to have timeout issues with some of the unit tests. I'm looking into this problem and will upgrade once it's resolved. In the meantime, for a seamless experience, please use sqlx 0.6 and sqb 0.3.

Jeremy Chone:

Twitter   / jeremychone  
Discord General Rust   / discord  
Discord Rust10x   / discord  
Patreon   / jeremychone  



Other popular Rust Programming videos:

Rust Axum Full Course    • Rust Axum Full Course  Web Developme...  
Rust Type State Builder Pattern    • Rust Programming: TypeState Builder P...  
Rust Builder Pattern    • Rust Programming: The Ultimate Builde...  
Rust Builder Pattern    • Rust Programming: The Ultimate Builde...  
Quick Start Code Layout    • Rust  Simple Code Layout (start simp...  
AWESOMEAPP (Rust10x) Full Overview Rust template for building Awesome Desktop Application:    • Building Awesome Desktop App with Rus...  
Tauri Quick Introduction (Desktop App wit Rust Programming):    • Rust Tauri 1.0  Quick Intro  Rust D...  
Rust Bevy Full Tutorial Game Development with Rust:    • Rust Bevy Full Tutorial  Game Develo...  
Rust for Java Developers series:    • Rust for Java Developers 1/3  Introd...  


Playlists:

Rust For Desktop App:    • JC  Rust Programming for Desktop App  
Everything Rust Programming Tutorials, Courses, Tips, Examples:    • JC  Rust  Everything Rust Programmi...  
Rust Programming for Web Development:    • JC  Rust Programming for Web Develop...  

Rust10x ➜ https://rust10x.com Production code templates.

Rust10x GitHub https://github.com/rust10x

Tool used:

ScreenBrush on Mac App Store (Gromit seems to be the equivalent on Linux)
Recut for audio flow.
Izotope RX for demclick and dessing.
Davinci Resolve as video editing.

posted by jodekwg