Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/project-robius/todo_makepad
Example TODO app built with Makepad
https://github.com/project-robius/todo_makepad
makepad
Last synced: 3 days ago
JSON representation
Example TODO app built with Makepad
- Host: GitHub
- URL: https://github.com/project-robius/todo_makepad
- Owner: project-robius
- License: apache-2.0
- Created: 2023-04-20T20:49:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T22:20:06.000Z (9 months ago)
- Last Synced: 2024-09-25T16:10:41.929Z (4 months ago)
- Topics: makepad
- Language: Rust
- Size: 330 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-list - mobilerust/todo_makepad
- awesome-rust-list - mobilerust/todo_makepad
README
# Makepad TODO list application
This is an example application of simple Todo list application built with [Makepad](https://github.com/makepad/makepad)
## Testing it in Android
Install cargo-makepad, in the root of the Makepad repository run
```
cargo install --path ./tools/cargo_makepad
```Note: Make sure you have checked in the latest from Makepad's main branch.
Run the application for Android
```
cargo-makepad android run -p todo_makepad
```## Testing it in other platforms
Run the application for Web (Wasm)
```
../makepad/tools/wasm/build_wasm_thread.sh todo_makepad; makepad-web-server
```Note: The `build_wasm_thread.sh` is actually located where you have checked in Makepad, so please adjust the relative path as it fits in your situation.
Run the application for Desktop (MacOS)
```
cargo run
```### Notes
* There are two version of the application, one for mobile (`AppMobile`) and other for desktop (`AppDesktop`). You need to choose manually in src/app.rs which want to render, since there is no an automatic mechanism for that at the time.
* This currently uses a JSON API deployed at https://cholee-todo-app.fly.dev/api/todos/. Random test data will appear since this resource is shared.