Tech stack: Rust, WebAssembly, and Parcel
This project uses pre-configured rust-parcel template with all the boilerplate for compiling Rust to WebAssembly and hooking into a Parcel build pipeline.
-
npm run start
-- Serve the project locally for development athttp://localhost:1234
. -
npm run build
-- Bundle the project (in production mode)
To use the app locally you should install Rust and wasm-pack. The command below will do that for you:
./build.sh
Or if you want to do everything manually, follow the official Rust installation guide: https://www.rust-lang.org/tools/install
and then
cargo install wasm-pack