cargo install cargo-make
cargo install wasm-pack --features curl/static-curl
To start the backend, use the following commands. The watch command restarts the server when any backend file changes, which runs at http://localhost:8000.
cd backend
cargo make watch
To start the frontend, use the following commands. This starts a static file server at http://localhost:3000, and recompiles the frontend on change.
cd frontend
cargo make watch
Tests and linting also use cargo-make
.
cargo make test # Test
cargo make clippy # Lint