Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Front end web development in Rust
Rating: 4.4 out of 5(73 ratings)
975 students

Front end web development in Rust

Leverage WebAssembly to ship Rust applications to your browser
Created byParis Liakos
Last updated 6/2023
English

What you'll learn

  • Developing frontend components with Yew's virtual DOM
  • Becoming familiar with the Rust WebAssembly ecosystem
  • Interacting with browser and listening to events via wasm and websys
  • Communicating to web APIs for CRUD via an authorization layer

Course content

6 sections26 lectures6h 54m total length
  • Introduction7:09

    Explore front-end web development with Rust and WebAssembly, learn how Rust tooling and frameworks like Yew and trunk enable building reliable, interactive web apps.

  • Local setup5:55

    Set up a rust frontend with webassembly by adding the wasm32 target via rustup, install trunk, and initialize crates-fe alongside crates-backend for a json rest api.

  • Gitlab repository0:15

Requirements

  • Good knowledge of Rust
  • Understanding of HTTP, REST, JSON, HTML and CSS
  • Experience with other frontend frameworks (React-like) will greatly help

Description

WebAssembly is a binary instruction format that most browsers support. It enables languages such as Rust, C, C++ Go, etc., to be compiled and run in a web browser.

The Rust programming language is the most frequently used language for developing WebAssembly applications, according to surveys.

And how could it not? It was voted as StackOverflow’s most loved and desired programming language, eight years in a row, thus everyone is looking for an excuse to run it even inside browsers, where Javascript is the usually the common approach.


You have already spent a good amount of time developing web applications and you have a very good understanding of Rust.

You are wondering whether you can develop your next UI in Rust and ship it to browser via WASM.

You are looking for a resource that has all you need in a single place.


Well, look no further! In this course i will show you how to create a complex web app in Rust that consumes JSON APIs.


We will use the Yew web framework along with wasm crates  to build a UI with

- Authentication

- Several different routes and pages

- Forms for CRUD support

- State management, custom hooks and reducers

- Async requests via browser's fetch API

Who this course is for:

  • Experienced web developers evaluating Rust and WebAssembly for their next project
  • Rust developers who want to build a UI for their application in Rust