Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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