An simple project template to demonstrate a api with clean architecure in Rust
Report Bug
·
Request Feature
Table of Contents
This project was born out of a passion for exploring the intricacies of crafting APIs with Rust, delving into the clean architecture paradigm. It's not just about code; it's a journey into the heart of Rust's capabilities, all in the name of honing my skills and understanding the artistry behind clean and efficient API design.
If you to want the feature to run in watch mode, install cargo-watch
- cargo-watch
cargo install cargo-watch
- Clone the repo
git clone https://github.com/vitorlfaria/rust_clean_api.git
- Build the project to install the dependecies
cargo build
- Run with
Or, for more dynamic development, run in watch mode
cargo run
cargo watch -q -c -w src/ -x run
-q
quiet mode
-c
clear the console on reload
-w
watch all change to files undersrc/
-x
executesrun
command
- Working api structure
- Clean Architecure
- Database
- Authentication
- Create user
- Authenticate with JWT
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'feat: add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Vitor Lacerda - @vitorlacerdaf - [email protected]
Project Link: https://github.com/vitorlfaria/rust_clean_api