https://github.com/schell/mogwai-realworld
RealWorld mogwai impl
https://github.com/schell/mogwai-realworld
Last synced: 9 months ago
JSON representation
RealWorld mogwai impl
- Host: GitHub
- URL: https://github.com/schell/mogwai-realworld
- Owner: schell
- Created: 2020-10-03T04:14:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-20T16:22:48.000Z (over 5 years ago)
- Last Synced: 2025-04-01T22:38:40.204Z (about 1 year ago)
- Language: Rust
- Size: 57.6 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mogwai-realworld
Hello, this is the [realworld](https://github.com/gothinkster/realworld) frontend
application demo for the [mogwai](https://github.com/schell/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`](https://rustup.rs/), which manages versions of `rustc`
and friends.
Then you'll need [`wasm-pack`](https://rustwasm.github.io/docs/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`:
```bash
cargo install basic-http-server
```
## building
First build:
```bash
wasm-pack build --target web
```
then serve:
```bash
basic-http-server -a 127.0.0.1:8888
```
and then visit http://127.0.0.1:8888 in your browser.
## fin
Happy Hacking! ๐งโโ๐ง