Go to file
Edward Tan 3c9b6fbf00
Create LICENSE
2024-04-17 15:20:06 -07:00
resources Update 2023-05-22 17:13:23 -03:00
src Catch up with makepad 2023-12-14 16:59:34 -03:00
.gitignore Initial commit 2023-04-19 13:43:22 -03:00
Cargo.lock Catch up with makepad 2023-12-14 16:59:34 -03:00
Cargo.toml Catch up with makepad 2023-12-14 16:59:34 -03:00
LICENSE Create LICENSE 2024-04-17 15:20:06 -07:00
README.md Update README.md 2023-06-13 10:47:25 -03:00

README.md

Makepad TODO list application

This is an example application of simple Todo list application built with 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.