Habit tracker web app written in Rust with Leptos.
- ✅ Track habits on a daily basis
- 👤 No Login
- 🔌 Works offline
- 📁 Data ex- and import
- 🌐 PWA ready
👉 Demo
Install trunk for building the web app and leptosfmt for code-formatting.
Then add the wasm target and start the development server.
cargo install trunk leptosfmt
rustup target add wasm32-unknown-unknown
trunk serve --port 3000
Building the app will ouput all necessary files to the dist
directory. Choose whatever static file server you like to serve them.
trunk build --release
Or use the provided dockerfile
to build a docker image with nginx as the server.
docker build -t ritmo .
docker run -p 8080:80 ritmo