https://github.com/frontmage/rock
Rust and webassembly based blog.
https://github.com/frontmage/rock
blog rust webassembly
Last synced: about 1 month ago
JSON representation
Rust and webassembly based blog.
- Host: GitHub
- URL: https://github.com/frontmage/rock
- Owner: FrontMage
- Created: 2018-07-26T08:17:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T09:09:15.000Z (almost 8 years ago)
- Last Synced: 2025-02-05T16:39:22.691Z (over 1 year ago)
- Topics: blog, rust, webassembly
- Language: CSS
- Size: 685 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rock
Rust and webassembly based blog.
Backend is based on [Rocket](https://rocket.rs/) and `MongoDB`, frontend is based on [yew](https://github.com/DenisKolodin/yew).
The css framework is [spectre](https://github.com/picturepan2/spectre).
Why am I doing this?
- Just wanna try to use rust for both backend and frontend.
Does it work?
- Works fine.
Production?
- Not yet, due to the size of `.wasm` file. You can see it on the screenshot below.
### Build & Run
```sh
$ cd blog
$ cargo web build --release --target=wasm32-unknown-unknown
$ cd ..
$ ROCKET_PORT=8080 cargo run
```
Visit `http://localhost:8080/blog.html`.

