Practical Rust Web Projects: Building Cloud and Web-Based Applications

Shing Lyu

Language: English

ID: 324

Publisher: Apress

Published: Jan 20, 2021

Description:

This book focuses on Rust for web applications. Since the backend is usually more language-agnostic, most of the chapters will be about the backend. We’ll follow the history of how the backend evolves, starting with server-side-rendered websites. Then we’ll develop REST APIs and WebSocket servers. Finally, we’ll deploy this API onto the cloud using serverless technologies. That doesn’t mean Rust can’t be used in the frontend. With WebAssembly now available in most mainstream browsers, we can compile our Rust code to WebAssembly and run it in browsers. This unlocks a lot of potential for highly-performant applications in the frontend. After reading this book, you should have a good grasp of how to build a full-stack application in Rust.

 

Who Is This Book For?

This book will be useful for:

 

✅ People who already know basic Rust syntax, but want to learn how to build web applications in Rust.

✅ People who are considering using Rust to build production-ready systems.

✅ People who have experience in web development and want to see how Rust can fit in.

 

If you already know how to code Rust, this book will help you learn web development in Rust. You have probably built a few command-line games and tools while reading The Rust Book2 or other introductory courses. The final project in The Rust Book teaches you to build a toy web server. But how do you build production-ready web services? This book will introduce you to web frameworks and crates in order to apply your Rust skill on the web. If you already know web development in other languages (e.g., Node.js, Java, Go, Python, Ruby, etc.), this book will help you see how Rust makes it more secure and ergonomic to building web applications.