Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/csalih/rust-clean-architecture
A sample project how to apply Clean Architecture in Rust (in development)
https://github.com/csalih/rust-clean-architecture
architecture clean-architecture education http-server rust software-design
Last synced: 19 days ago
JSON representation
A sample project how to apply Clean Architecture in Rust (in development)
- Host: GitHub
- URL: https://github.com/csalih/rust-clean-architecture
- Owner: CSalih
- Created: 2023-02-10T12:28:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-12T15:24:17.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T15:56:10.722Z (3 months ago)
- Topics: architecture, clean-architecture, education, http-server, rust, software-design
- Language: Rust
- Homepage:
- Size: 49.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clean Architecture with Rust
This is a sample project to demonstrate how to
apply [Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html
) in Rust.> Note: I'm exploring Rust so don't expect a good code quality.
## Getting Started
### Server
```bash
# start the server
cargo run
# http operations
curl --location --request GET 'http://localhost:8080/api/v1/users'
```## Architecture
The dependency goes towards the
center - [The Dependency Rule](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html#the-dependency-rule).![Architecture Overview](docs/assets/clean-architecture.png)
## License
Copyright 2023 © CSalih. All rights reserved.
Licensed under MIT