
Modern Web Apps using Rust: Build full-stack applications using Rust-based Leptos framework, GraphQL, WebAssembly, and c, (Paperback)
Key item features
- Modern Web Apps using Rust: Build full-stack applications using Rust-based Leptos framework, GraphQL, WebAssembly, and c, (Paperback)
- Author: Gitforgits
- ISBN: 9789349174870
- Format: Paperback
- Publication Date: 2025-01-25
- Page Count: 178
Specs
- Book formatPaperback
- Fiction/nonfictionNon-Fiction
- GenreComputing & Internet
- Pages178
- SubgenreInternet
- Series titleNo Series
Free 90-day returns
How do you want your item?
Get free delivery, shipping and more*
About this item
Product details
This book introduces you to web development with Rust and Leptos. To begin with, you install a solid Rust toolchain and set up Leptos in VS Code, and then you see your first "Hello World" interface rendered via WebAssembly right away. So, first you'll design a microservice-inspired book-selling sample app, called LibroCommerce, into inventory, orders, and user accounts. Then, you'll connect each piece with Axum handlers, SQLx queries, and shared Serde models.
By the time you get to Chapter 3, you'll have built a nonblocking, Tokio-driven server that handles dynamic routes, powers Leptos SSR pages, and secures endpoints with JWT and OAuth2. Then, you add real-time features: WebSockets send stock updates and order-status events to reactive Leptos signals, keeping the UI and backend in sync. As you go, you'll be writing end-to-end Playwright tests and setting up GitHub Actions so that every commit runs Rust tests, Playwright scenarios, Docker builds, and Kubernetes rollouts automatically. You'll learn how to connect to PostgreSQL with an async pool, model Books, Users, and Orders with Serde-annotated Rust structs, and implement CRUD, password hashing with Argon2, encrypted backups, and session stores in Redis. Performance tuning shows you how to optimize Tokio threads, tune SQLx pools, stream large result sets, debounce client inputs, and apply backpressure. At last, you put each microservice and frontend into Docker containers, deploy them with Kubernetes, and then use serverless.
It's packed with over 100 bite-sized examples and ready-to-run solutions, and it'll walk you through building and operating a production-style web application in Rust, step-by-step. You won't become a Rust language expert, but you'll finish ready to design, code, test, and deploy modern web apps.
Key LearningsStart using Rust and Leptos with VS Code to develop web applications using WebAssembly.
Architect microservices with inventory, orders, and user modules for modular, scalable applications.
Make servers that respond to user activity and are not blocked by other users. Use Tokio and Axum with dynamic routing and concurrency.
Employ business logic with SQLX, transactions, and external API integration for real-world workflows.
Protect your devices with JWT, OAuth2, Argon2 password hashing, HttpOnly cookies, and TLS encryption.
Handle database state asynchronously, define Serde data models, and perform efficient CRUD operations.
Utilize WebSockets, Leptos signals, and broadcast channels to enable real-time updates.
Perform end-to-end testing with Playwright, integration tests, and automated CI pipelines for reliability.
Put microservices and the frontend into containers using Docker, and use Kubernetes to orchestrate them so they can be deployed without any downtime.
Table of ContentSetting up Rust & Leptos Environment
Designing Modern Architecture
Building Application Server
Database Integration and State Management
Modern Interactions with REST, GraphQL, and OAuth
Front-end Development with Leptos and WebAssembly
Real-time Interactions using Websocket
Modern Securi
- Modern Web Apps using Rust: Build full-stack applications using Rust-based Leptos framework, GraphQL, WebAssembly, and c, (Paperback)
- Author: Gitforgits
- ISBN: 9789349174870
- Format: Paperback
- Publication Date: 2025-01-25
- Page Count: 178
Specifications
Book format
Fiction/nonfiction
Genre
Pages
Similar items you might like
Based on what customers bought
Machine Learning with Rust: A practical attempt to explore Rust and its libraries across popular machine learning techni, (Paperback) $34.99
$3499current price $34.99Machine Learning with Rust: A practical attempt to explore Rust and its libraries across popular machine learning techni, (Paperback)
At Home with Blue: Soothing Spaces for Restful Living, (Hardcover) $35.00
$3500current price $35.00At Home with Blue: Soothing Spaces for Restful Living, (Hardcover)
Practical Machine Learning with Rust: Creating Intelligent Applications in Rust, (Paperback) $35.49
$3549current price $35.49Practical Machine Learning with Rust: Creating Intelligent Applications in Rust, (Paperback)
TypeScript 5 Design Patterns and Best Practices - Second Edition: Build clean and scalable apps with proven patterns and, (Paperback) $24.58
$2458current price $24.58TypeScript 5 Design Patterns and Best Practices - Second Edition: Build clean and scalable apps with proven patterns and, (Paperback)
Practical Rust 1.x Cookbook, Second Edition: 100 Solutions for beginners to practice rust programming across CI/CD, kub, (Paperback) $34.99
$3499current price $34.99Practical Rust 1.x Cookbook, Second Edition: 100 Solutions for beginners to practice rust programming across CI/CD, kub, (Paperback)
Full-Stack Web Development with TypeScript 5: Craft modern full-stack projects with Bun, PostgreSQL, Svelte, TypeScript,, (Paperback) $36.26
$3626current price $36.26Full-Stack Web Development with TypeScript 5: Craft modern full-stack projects with Bun, PostgreSQL, Svelte, TypeScript,, (Paperback)
Clean Android Architecture: Take a layered approach to writing clean, testable, and decoupled Android applications (Paperback) $34.49
$3449current price $34.49Clean Android Architecture: Take a layered approach to writing clean, testable, and decoupled Android applications (Paperback)
Clean Architecture with Python: Implement scalable and maintainable applications using proven architectural principles, (Paperback) $32.39
$3239current price $32.39Clean Architecture with Python: Implement scalable and maintainable applications using proven architectural principles, (Paperback)
Rust for Embedded Systems, (Paperback) $34.99
$3499current price $34.99Rust for Embedded Systems, (Paperback)
Rust for Blockchain Application Development: Learn to build decentralized applications on popular blockchain technologies using Rust (Paperback) $36.26
$3626current price $36.26Rust for Blockchain Application Development: Learn to build decentralized applications on popular blockchain technologies using Rust (Paperback)
Rust Web Development with Rocket: A practical guide to starting your journey in Rust web development using the Rocket framework (Paperback) $31.11
$3111current price $31.11Rust Web Development with Rocket: A practical guide to starting your journey in Rust web development using the Rocket framework (Paperback)
Building Progressive Web Apps: Bringing the Power of Native to the Browser (Paperback) $26.15
$2615current price $26.15Building Progressive Web Apps: Bringing the Power of Native to the Browser (Paperback)
Practical Rust Projects: Build Serverless, Ai, Machine Learning, Embedded, Game, and Web Applications, (Paperback) $34.71
$3471current price $34.71Practical Rust Projects: Build Serverless, Ai, Machine Learning, Embedded, Game, and Web Applications, (Paperback)
Decoding JavaScript Design Patterns: Build scalable applications with object-oriented programming and advanced pattern t, (Paperback) $39.95
$3995current price $39.95Decoding JavaScript Design Patterns: Build scalable applications with object-oriented programming and advanced pattern t, (Paperback)
Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications, (Paperback) $47.42
$4742current price $47.42Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications, (Paperback)
Effective Rust: 35 Specific Ways to Improve Your Rust Code (Paperback) $32.96
$3296current price $32.96Effective Rust: 35 Specific Ways to Improve Your Rust Code (Paperback)
Asynchronous Programming in Rust: Learn asynchronous programming by building working examples of futures, green threads,, (Paperback) $28.90
$2890current price $28.90Asynchronous Programming in Rust: Learn asynchronous programming by building working examples of futures, green threads,, (Paperback)
Blazor WebAssembly By Example - Second Edition: Use practical projects to start building web apps with .NET 7, Blazor WebAssembly, and C# (Paperback) $33.14
$3314current price $33.14Blazor WebAssembly By Example - Second Edition: Use practical projects to start building web apps with .NET 7, Blazor WebAssembly, and C# (Paperback)
Cross-Platform Development with Qt 6 and Modern C : Design and build applications with modern graphical user interfaces, (Paperback) $35.60
$3560current price $35.60Cross-Platform Development with Qt 6 and Modern C : Design and build applications with modern graphical user interfaces, (Paperback)
Design Patterns in Modern C 20: Reusable Approaches for Object-Oriented Software Design, (Paperback) $34.86 Was $39.99
$3486current price $34.86, Was $39.99$39.99Design Patterns in Modern C 20: Reusable Approaches for Object-Oriented Software Design, (Paperback)
