menu
{ "item_title" : "Modern Web Apps using Rust, Second Edition", "item_author" : [" Nira Talvyn "], "item_description" : "Halfway through this book you build the entire server again, on a different web framework.This book isn't for practice, but to test out the architecture. All you are learning in this book, is build a full-stack Rust application, on Axum, and then rebuild it again on Actix Web 4, and the domain crate won't change at all. Under both, you'll find a pinned Rust 1.95 and edition 2024 toolchain, business rules that don't rely on any framework, and PostgreSQL accessed through SQLx with queries and transactions that are verified at compile time.When you're done there, you'll have versioned REST APIs and a GraphQL schema, OAuth2 sign-in with GitHub, JWT claims and Argon2 hashing, and a reactive Leptos storefront compiled to WebAssembly. With WebSockets, you can stream live updates, size Tokio runtimes and connection pools by measurement, then ship to Kubernetes through a gated pipeline. The idea is not to turn you into a Rust expert overnight, but to equip you with the knowledge to build something that will keep on going long after its dependencies are obsolete.Key LearningsSeparate business rules into a domain crate depending on no framework, database or runtime.Build asynchronous web services on Axum with typed state, extractors and tower middleware.Rebuild same server on Actix Web 4 and work with per-worker arbiter model.Query PostgreSQL through SQLx using reversible migrations and transactions.Publish versioned REST APIs and a GraphQL schema with DataLoader batching.Add OAuth2 sign-in with GitHub, JWT claims and Argon2 password hashing.Build reactive Leptos front-end compiled to WebAssembly, with server-side rendering.Stream live updates over WebSockets, and tune Tokio runtimes and connection pools.Containerize with Docker and cargo-chef, and ship to Kubernetes through CI pipeline.Table of ContentSetting up Rust 2024, Zed and LeptosDesigning Modern ArchitectureBuilding App Server with AxumBuilding Server with Actix WebDatabase Integration and State ManagementModern Interactions with REST, GraphQL and OAuthFront-end Development with Leptos and WebAssemblyReal-time Interactions using WebSocketsModern Security, Performance and TuningCloud-native Releases and Continuous Delivery", "item_img_path" : "https://covers1.booksamillion.com/covers/bam/9/34/917/467/9349174677_b.jpg", "price_data" : { "retail_price" : "79.99", "online_price" : "79.99", "our_price" : "79.99", "club_price" : "79.99", "savings_pct" : "0", "savings_amt" : "0.00", "club_savings_pct" : "0", "club_savings_amt" : "0.00", "discount_pct" : "10", "store_price" : "" } }
Modern Web Apps using Rust, Second Edition|Nira Talvyn

Modern Web Apps using Rust, Second Edition : Build full-stack app on a framework-agnostic core, using Axum, Actix Web, Leptos and PostgreSQL

local_shippingShip to Me
In Stock.
FREE Shipping for Club Members help

Overview

Halfway through this book you build the entire server again, on a different web framework.

This book isn't for practice, but to test out the architecture. All you are learning in this book, is build a full-stack Rust application, on Axum, and then rebuild it again on Actix Web 4, and the domain crate won't change at all. Under both, you'll find a pinned Rust 1.95 and edition 2024 toolchain, business rules that don't rely on any framework, and PostgreSQL accessed through SQLx with queries and transactions that are verified at compile time.

When you're done there, you'll have versioned REST APIs and a GraphQL schema, OAuth2 sign-in with GitHub, JWT claims and Argon2 hashing, and a reactive Leptos storefront compiled to WebAssembly. With WebSockets, you can stream live updates, size Tokio runtimes and connection pools by measurement, then ship to Kubernetes through a gated pipeline. The idea is not to turn you into a Rust expert overnight, but to equip you with the knowledge to build something that will keep on going long after its dependencies are obsolete.

Key Learnings

Separate business rules into a domain crate depending on no framework, database or runtime.

Build asynchronous web services on Axum with typed state, extractors and tower middleware.

Rebuild same server on Actix Web 4 and work with per-worker arbiter model.

Query PostgreSQL through SQLx using reversible migrations and transactions.

Publish versioned REST APIs and a GraphQL schema with DataLoader batching.

Add OAuth2 sign-in with GitHub, JWT claims and Argon2 password hashing.

Build reactive Leptos front-end compiled to WebAssembly, with server-side rendering.

Stream live updates over WebSockets, and tune Tokio runtimes and connection pools.

Containerize with Docker and cargo-chef, and ship to Kubernetes through CI pipeline.

Table of Content

Setting up Rust 2024, Zed and Leptos

Designing Modern Architecture

Building App Server with Axum

Building Server with Actix Web

Database Integration and State Management

Modern Interactions with REST, GraphQL and OAuth

Front-end Development with Leptos and WebAssembly

Real-time Interactions using WebSockets

Modern Security, Performance and Tuning

Cloud-native Releases and Continuous Delivery

Details

  • ISBN-13: 9789349174672
  • ISBN-10: 9349174677
  • Publisher: Gitforgits
  • Publish Date: July 2026
  • Dimensions: 9.25 x 7.5 x 0.43 inches
  • Shipping Weight: 0.79 pounds
  • Page Count: 204

Related Categories

You May Also Like...

    1

BAM Customer Reviews