Skip to content

FrontMage/rock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rock

Rust and webassembly based blog.

Backend is based on Rocket and MongoDB, frontend is based on yew.

The css framework is 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

$ cd blog
$ cargo web build --release --target=wasm32-unknown-unknown 
$ cd ..
$ ROCKET_PORT=8080 cargo run

Visit http://localhost:8080/blog.html.

screenshot

screenshot

About

Rust and webassembly based blog.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors