rust_clean_api
rust_clean_api copied to clipboard
Simple rust api implemented with clean architecture
Rust Clean Architecture Api
An simple project template to demonstrate a api with clean architecure in Rust
Report Bug
·
Request Feature
Table of Contents
-
About The Project
- Built With
-
Getting Started
- Prerequisites
- Installation
- Roadmap
- Contributing
- License
- Contact
- Acknowledgments
About The Project
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.
(back to top)
Built With
Getting Started
Prerequisites
If you to want the feature to run in watch mode, install cargo-watch
- cargo-watch
cargo install cargo-watch
Installation
- 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 modecargo runcargo watch -q -c -w src/ -x run-qquiet mode
-cclear the console on reload
-wwatch all change to files undersrc/
-xexecutesruncommand
(back to top)
Roadmap
- [x] Working api structure
- [x] Clean Architecure
- [x] Database
- [ ] Authentication
- [ ] Create user
- [ ] Authenticate with JWT
See the open issues for a full list of proposed features (and known issues).
(back to top)
Contributing
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
(back to top)
License
Distributed under the MIT License. See LICENSE.txt for more information.
(back to top)
Contact
Vitor Lacerda - @vitorlacerdaf - [email protected]
Project Link: https://github.com/vitorlfaria/rust_clean_api
(back to top)
Acknowledgments
(back to top)