https://github.com/moonzoon/todomvc
MoonZoon TodoMVC
https://github.com/moonzoon/todomvc
fullstack moonzoon rust todomvc wasm
Last synced: about 2 months ago
JSON representation
MoonZoon TodoMVC
- Host: GitHub
- URL: https://github.com/moonzoon/todomvc
- Owner: MoonZoon
- License: mit
- Created: 2021-08-19T22:12:04.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-20T08:45:06.000Z (almost 5 years ago)
- Last Synced: 2025-03-11T02:51:19.280Z (over 1 year ago)
- Topics: fullstack, moonzoon, rust, todomvc, wasm
- Language: Rust
- Homepage: https://moonzoon-todomvc.herokuapp.com
- Size: 162 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# MoonZoon TodoMVC
> [MoonZoon](http://moonzoon.rs/) is a Rust Fullstack Framework.
**[Live demo](https://moonzoon-todomvc.herokuapp.com/)**
## Run on a local machine
1. Check you've installed [Rust](https://www.rust-lang.org/):
```bash
rustc -V # rustc 1.54.0 (a178d0322 2021-07-26)
```
1. Go to the project root.
1. Install `mzoon` to `cargo_install_root`:
```bash
cargo install mzoon --git https://github.com/MoonZoon/MoonZoon --rev 457b8d1 --root cargo_install_root --locked
```
- _Note:_ There will be faster and simpler ways with pre-compiled binaries.
1. Move `cargo_install_root/bin/mzoon` to the project root.
```bash
mv cargo_install_root/bin/mzoon mzoon
# or
move cargo_install_root/bin/mzoon mzoon
```
- _Note:_: You can delete the `cargo_install_root` directory now.
1. Build and run:
```bash
./mzoon start
# or
mzoon start
```
- _Note_: The app is much faster when built in the release mode (`-r`).
---
## Run on Heroku / Heroku-like PaaS
- Use the buildpack https://github.com/MoonZoon/heroku-buildpack-moonzoon
- Update the file `mzoon_commit` if necessary.