This is an Axum Web Server starter template that compiles to WASIX.
Checkout the full tutorial here
First, build the project using cargo-wasix
:
$ cargo wasix build
Then, you can run the server easily using Wasmer:
$ wasmer run . --env PORT=8080
Listening on http://127.0.0.1:8080
The easiest way to deploy your Axum Rust app is to use the Wasmer Edge.
Live example: https://wasix-axum-example.wasmer.app
wasmer deploy