This project uses Fermyon's spin
Steps to get started
- Install the Spin binary(Instructions in the Link above), cargo and rustup
- Install dependencies
apt-get install -y curl git libssl-dev pkg-config- Then add wasm as a target
rustup target add wasm32-wasi- Run
spin build - Run
spin up --follow-allthis will show all stdout and stderr
Note: There is a Dockerfile but it's currently not optimized and creates a 5GB docker image.
The spin.toml is where the Routing is decided for the URL's
Spin has a nice example list