This guide provides resources for setting up a todo app in Rust. For detailed instructions, please refer to:
- Rust Hello World Server Tutorial
- Full Stack Todo Rust Course
- Guide on Implementing Clean Architecture
- DDD, Hexagonal, Onion, Clean, CQRS, … How I put it all together
To streamline your development process, consider using Cargo Watch. This utility automatically runs specified commands when files change, which is especially useful for recompiling your code or running tests whenever you save a file.
Install cargo watch
with the following command:
cargo install cargo-watch
Once installed, you can use cargo watch
to automatically recompile your code and restart your server whenever you save a file:
cargo watch -x run
For standardized commit messages, we recommend using Commitizen. More information can be found in the official Commitizen Tools documentation:
Official Commitizen Tools Guide
sea-orm-cli generate entity -o src/database/