bencord0 / fullstack-rust-example

Yew and Axum combined example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fullstack Rust Example

This example combines a Yew frontend, and an Axumbackend into a single binary serving a wasm interface.

Setup

$ rustup target add wasm32-unknown-unknown
$ cargo install wasm-bindgen-cli webassembly-test-runner

Compile

$ cargo build

Run

$ cargo runserver

Test

$ cargo test

About

Yew and Axum combined example


Languages

Language:Rust 100.0%