Рет қаралды 70,446
GitHub repo updated to Axum 0.7 github.com/rust10x/rust-web-app
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 production-ready 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 JSON-based 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 C...
Episode 02: • Rust Sea-Query + SQLX ...
Episode 03: • Rust Workspace Product...
More info on the Rust Web App (github, discord, and design doc): rust10x.com/web-app
Previous video - Axum Full Course - • Rust Axum Full Course ...
GitHub Code: github.com/rust10x/rust-web-app (MIT or Apache 2.0, all free to use)
Big thanks to CrabNebula (crabnebula.dev/) for their sponsorship.
Help support this channel about production coding in Rust: / jeremychone .
Content:
- 00:00:00 - INTRO
- 00:01:00 - E01-C01 - Baseline
- 00:09:50 - E01-C02 - Tracing (basics)
- 00:14:26 - E01-C03 - Config
- 00:21:17 - E01-C04 - DB Live Reload
- 00:39:48 - E01-C05 - Model 1/2 - Task CRUD
- 01:18:55 - E01-C06 - Model 2/2 - Shared Impl
- 01:44:00 - E01-C07 - Pwd Encrypt & Validation
- 02:22:21 - E01-C08 - Secure Token & Web Auth
- 03:14:45 - E01-C09 - RPC (JSON-RPC)
#RustProgramming #RustLang #WebDevelopment #completecourse
Tech notes:
- `cargo install cargo-watch` - 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 ...
- Rust Type State Builder Pattern - • Rust Programming: Type...
- Rust Builder Pattern - • Rust Programming: The ...
- Rust Builder Pattern - • Rust Programming: The ...
- Quick Start Code Layout - • Rust - Simple Code Lay...
- AWESOME-APP (Rust10x) Full Overview - Rust template for building Awesome Desktop Application: • Building Awesome Deskt...
- Tauri Quick Introduction (Desktop App wit Rust Programming): • Rust Tauri 1.0 - Quick...
- Rust Bevy Full Tutorial - Game Development with Rust: • Rust Bevy Full Tutoria...
- Rust for Java Developers series: • Rust for Java Develope...
Playlists:
- Rust For Desktop App: • Rust Programming for D...
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: • Everything Rust Progra...
- Rust Programming for Web Development: • Rust Programming for W...
Rust10x ➜ rust10x.com - Production code templates.
Rust10x GitHub - 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 de-mclick and dessing.
- Davinci Resolve as video editing.