This is a Rust project that uses the Cargo build system and Just for task running. The project is structured into several parts: a core application logic, and two client implementations (Axum and Yew).
The project is divided into several parts:
-
application
: This is where the core business logic of the application resides. It contains commands for adding, removing, and completing tasks. These commands are defined incommands.rs
. -
framework
: This is a set of common utilities and traits used across the application. -
clients
: This directory contains two client implementations of the application:axum
: This is a server-side implementation using the Axum web framework. The server exposes several endpoints for interacting with the todo list. The main entry point ismain.rs
.yew
: This is a client-side implementation using the Yew framework for building web applications with Rust and WebAssembly. The main entry point ismain.rs
.
To start the project, you need to have Rust and Just installed on your machine. If you don't have them, you can install Rust from the official website and Just from its GitHub repository.
Once you have Rust and Just installed, you can use Just to run tasks defined in the Justfile
. For example, to start the Axum server, you can run:
just axum
And to start the Yew client, you can run:
just yew
Please refer to the Justfile
for more tasks and details.
Contributions are welcome. Please feel free to open an issue or submit a pull request.