Simple application to keep track of your local community
-
sqlx-cli
cargo install sqlx-cli
-
cargo-watch
cargo install cargo-watch
-
trunk
cargo install --locked trunk
-
Rust WASM build support
rustup target add wasm32-unknown-unknown
- Create the database
sqlx db create
sqlx migrate run --source core_app/migrations/
- Build the frontend
trunk build --release web_frontend/index.html
- Build the rest
cargo build --release
- Rebuild the FE
trunk watch web_frontend/index.html
- Rebuild and run the BE
cargo watch -c -q -w core_app/ -w web_backend/ -x 'run --bin web_backend'