Rust and WebAssembly

A First Business Microservice you own this product

This project is part of the liveProject series Rust and WebAssembly Microservices
prerequisites
Rust programming basics • web services basics
skills learned
Rust application framework for HTTP server applications
Michael Yuan
1 week · 2-4 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • share your subscription with another person
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

You’re a new developer at UMET Inc., an e-commerce platform that’s modernizing its backend technology stack with Rust. Your task is to create a simple HTTP service that looks up sales tax rates for U.S. ZIP codes and then deploy it in a lightweight container. To build the service, you’ll use Rust Tokio and hyper crates. You’ll compile, run, and test it in a lightweight WasmEdge container and use GitHub Actions to automatically test and validate any changes that you make. When you’re finished, you’ll have hands-on experience building, updating, and testing a minimally viable microservice using Rust and WebAssembly.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Michael Yuan

Dr. Michael Yuan is the founder and maintainer of the open-source WasmEdge project—one of the most popular WebAssembly runtimes for server and edge applications. He’s the author of five books on software engineering and a frequent speaker at conferences, including KubeCon, Open Source Summit, QCon, and Rust Conf. He’s also the creator of flows.network, a serverless automation platform for AIOps and LLMOps. He holds a PhD in Astrophysics from the University of Texas at Austin and has been designing and implementing enterprise applications and server-side software infrastructure for over 20 years.

prerequisites

This liveProject is for developers who are interested in creating lightweight cloud-native applications in Rust. To begin these liveProjects you’ll need to be familiar with the following:

TOOLS
  • Basics of programming with a compiled language such as C, C++, Go, Swift, or Kotlin
  • Basics of the workflow of building with compilers
  • Linux basics
  • Basics of Git, GitHub, and GitHub Actions
  • GitHub account (registration is free)
  • Rust and Cargo toolchain
  • WasmEdge Runtime
TECHNIQUES
  • Basics of HTTP-based web services
  • Basics of the 3-tier architecture for web applications

you will learn

In this liveProject, you’ll learn to build, update, and test a lightweight, minimally viable microservice in the Rust + Wasm stack.

  • Create HTTP microservices using popular Rust crates
  • Manage data (in external CSV files) in the Rust microservice application
  • Deploy and run the HTTP microservice in WasmEdge Runtime
  • CI/CD with GitHub Actions

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • A First Business Microservice project for free