Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetli/rust-yew-axum-tauri-desktop
Rust + Yew + Axum + Tauri + Tailwindcss, full-stack Rust development for Desktop apps.
https://github.com/jetli/rust-yew-axum-tauri-desktop
axum desktop rust tailwindcss tauri wasm webassembly yew
Last synced: 2 months ago
JSON representation
Rust + Yew + Axum + Tauri + Tailwindcss, full-stack Rust development for Desktop apps.
- Host: GitHub
- URL: https://github.com/jetli/rust-yew-axum-tauri-desktop
- Owner: jetli
- License: other
- Created: 2022-04-12T13:56:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T03:14:55.000Z (over 1 year ago)
- Last Synced: 2024-10-30T12:47:04.828Z (3 months ago)
- Topics: axum, desktop, rust, tailwindcss, tauri, wasm, webassembly, yew
- Language: Rust
- Homepage:
- Size: 978 KB
- Stars: 133
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-yew - rust-yew-axum-tauri-desktop - Rust + Yew + Axum + Tauri, full-stack Rust development for Desktop apps. (Templates)
README
# rust-yew-axum-tauri-desktop template
Rust + Yew + Axum + Tauri + Tailwindcss, full-stack Rust development for Desktop apps, supports restful and
websocket api.## Crates
- `frontend`: Yew frontend app for desktop client.
- `backend`: Axum backend restful and websocket api for desktop client.
- `server`: Axum server side restful and websocket api.
- `types`: Common types shared by frontend/backend/server.
- `tauri`: Tauri app for desktop client.## Development
Install
```bash
rustup target add wasm32-unknown-unknown
cargo install trunk
cargo install tauri-cli
```Run desktop client app
```bash
cargo tauri dev
```Run server side
```bash
cargo run --bin server
```Bundle desktop client app
```bash
cargo tauri build
```## Contribute
Feel free to take a look at the current issues in this repo for anything that currently needs to be worked on.
You are also welcome to open a PR or a new issue if you see something is missing or could be improved upon.
## License
Apache-2.0/MIT