Home

Awesome

mogwai-realworld

Hello, this is the realworld frontend application demo for the mogwai rust library.

This is a work in progress. Feel free to contribute or criticize - all feedback is welcome :)

getting started

First you'll need rustup, which manages versions of rustc and friends.

Then you'll need wasm-pack which uses rustc to cross-compile rust code to WASM _.

Then you'll need a simple file server. I like to use basic-http-server, which can be installed with cargo:

cargo install basic-http-server

building

First build:

wasm-pack build --target web

then serve:

basic-http-server -a 127.0.0.1:8888

and then visit http://127.0.0.1:8888 in your browser.

fin

Happy Hacking! ๐Ÿšงโ˜•โ˜•๐Ÿšง