An open API service indexing awesome lists of open source software.

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

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.