This is an ongoing project of the Berlin Rust Hack&Learn Meetup group: a small web project to be implemented in as many Rust web frameworks as possible, to be able to better compare the overwhelming multitude of Rust web frameworks.
- Have Rust installed. If you don't have it installed, you can install it with rustup.
- Make sure the
wasm32-unknown-unknown
target is added. This can be done by runningrustup target add wasm32-unknown-unknown
. This is required so that the frontend can be built to WebAssembly so that it can be run in the browser. - Trunk is used to build the frontend. Install it by following one of the installation options.
- Install the Tailwind CLI. A standalone version of the cli is available if you don't want to use a package manager to install it. Make sure the
tailwindcss
cli is added to your PATH after installation.
cd backend
cargo run
cd frontend
trunk serve