Minimal web app with Leptos CSR (Client-Side Rendering) frontend and Axum backend.
- Frontend: Leptos (WASM-based reactive UI)
- Backend: Axum (serves static files)
- Build Tool: Trunk
- Deployment: Docker + DigitalOcean
Install Trunk and add WASM target:
cargo install trunk
rustup target add wasm32-unknown-unknowntrunk serveVisit http://localhost:8080 - auto-reloads on changes!
trunk build --release
cargo build --release --features ssrRun the server:
./target/release/spiryddevVisit http://localhost:3000
docker build -t spiryddev .
docker run -p 3000:3000 spiryddevPush to main → CI/CD auto-deploys to DigitalOcean.
DOCR_TOKENDOCR_REGISTRYSSH_HOSTSSH_USERSSH_PRIVATE_KEY