Releases: snamiki1212/realworld-v1-rust-actix-web-diesel
v2.0.0
Overview
This release targets to re-architect from MVC pattern to Clean Architecture.
Previous Architecture
The previous architecture is the MVC pattern, and please see the following link if you want to know it.
New Architecture
Clean Architecture
New Architecture is Clean Architecture. It separates modules into some layers like below.
DI Container
This application selected Constructor Injection with dynamic dispatch way to implement DI container. Please check /src/di.rs
file.
PRs
Issues
- Add test codes: Now, test codes can be easily added because of DI.
- Improve query: This query logic is still messy.
v1.0.0
Overview
This is one of the RealWorld application repositories. RealWorld is a project including minimal web application features like Medium.com
. Please read the following official README about it if you want to know more.
This snamiki1212/realworld-v1-rust-actix-web-diesel
met the spec of the RealWorld project and was already registered by the official Realworld project as one of the projects.
Architecture
This project is based on a simple MVC pattern with Service Layer having domain logic.
Issues
Code quality is not perfect so needs to improve. Especially, the boundary between Model and Service is ambiguous, and dependency relations are messy. So, it needs to re-architect it.