Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.12 KB

Call Rest API With Rust and Yew: USA Weather Service API Open Data YEW Complete Tutorial

YouTube Video

https://youtu.be/dSJULWtd3y0

How to run

trunk serve

Startup logs and Web GUI Result

image

After you clicked on "No data yet" button. Weekly weather forecast will be displayed like followings.

image

Prerequisites

  1. Install rust, cargo and friends. Please watch this video for more details: https://youtu.be/nnuaiW1OhjA https://doc.rust-lang.org/cargo/getting-started/installation.html

  2. Install trunk and target add wasm32-unknown-unknown please watch this video for more details: https://youtu.be/In09Lgqxp6Y

cargo install --locked trunk
rustup target add wasm32-unknown-unknown
  1. Install cargo watch
cargo install cargo-watch