https://github.com/mysterycoder456/leptos_todo_app
Simple TODO application made with Rust and Leptos
https://github.com/mysterycoder456/leptos_todo_app
leptos rust rust-lang rust-web tailwind tailwindcss wasm wasm-bindgen web webassembly
Last synced: about 1 year ago
JSON representation
Simple TODO application made with Rust and Leptos
- Host: GitHub
- URL: https://github.com/mysterycoder456/leptos_todo_app
- Owner: MysteryCoder456
- Created: 2023-01-31T19:06:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-05T12:40:26.000Z (over 3 years ago)
- Last Synced: 2025-03-18T15:54:27.831Z (over 1 year ago)
- Topics: leptos, rust, rust-lang, rust-web, tailwind, tailwindcss, wasm, wasm-bindgen, web, webassembly
- Language: Rust
- Homepage: https://leptos-todos.fly.dev/
- Size: 46.9 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leptos TODOs
Client-Side Rendered TODO web application.
A simple toy project to mess around with Leptos and Rust WASM.
## Setup
### Using Docker
If you have Docker and docker-compose installed, you can simply run
`docker compose up --build` and wait a few minutes. After it finishes,
you can open a browser at `http://localhost:8080` to see the application.
### Manually
This project will work using the Stable Rust Toolchain as well, contrary
to most examples on the [official Leptos repository](https://github.com/leptos-rs/leptos).
1. Add WASM to your Rust toolchain using: `rustup target add wasm32-unknown-unknown`.
2. This project uses Tailwind, so install the Tailwind CLI using: `npm i -g tailwindcss`.
3. Install [Trunk](https://trunkrs.dev/#install) for compiling Rust to WASM.
4. Run `trunk serve --open` to run a dev server that hot reloads any changes to your code.