Clean Architecture with .NET Core & React+Redux :cyclone:
Sample implementation of the Clean Architecture Principles with .NET Core. Use cases as central organizing structure, decoupled from frameworks and technology details. Built by small components that are developed and tested in isolation.
We support two versions:
- .NET 6 - .NET 6.
- .NET 5 - .NET 5.
- .NET Core 3.1 - .NET Core 3.1.
Hit the
WATCHbutton to get the latest Clean Architecture updates.
Manga is a Virtual Wallet Solution in which the customer register an account then manage the balance by Deposit, Withdraw and Transfer operations.
We also support the React client:
Build & Run
To startup the whole solution, execute the following command:
Windows:
PS cd .docker && ./setup.ps1MacOS:
$ cd .docker && ./setup.shThen the following containers should be running on docker ps:
| Application | URL |
|---|---|
| NGINX | https://wallet.local:8081 |
| Wallet SPA | https://wallet.local:8081 |
| Accounts API | https://wallet.local:8081/accounts-api |
| Identity Server | https://wallet.local:8081/identity-server |
| SQL Server | Server=localhost;User Id=sa;Password=<YourStrong!Passw0rd>;Database=Accounts; |
Browse to https://wallet.local:8081 then click on Log In. If asked trust the self-signed certificate.
Motivation
Learn how to design modular applications.
Explore the .NET Core features.
Learn how to design modular applications
Learning how to design modular applications will help you become a better engineer. Designing modular applications is the holy grail of software architecture, it is hard to find engineers experienced on designing applications which allows adding new features in a steady speed.
Explore the .NET Core features
.NET Core brings a sweet development environment, an extensible and cross-platform framework. We will explore the benefits of it in the infrastructure layer and we will reduce its importance in the application and domain layers. The same rule is applied for modern C# language syntax.
Learn from the open source community
This is continually updated, open source project.
Contributions are welcome!
Contributing
Learn from the community.
Feel free to submit pull requests to help:
- Fix errors.
- Refactoring.
- Build the Front End.
- Submit issues and bugs.
The DiscussΓ£o em PortuguΓͺs is pinned for the large community of brazillian developers.
Index of Clean Architecture Manga
[Home](https://github.com/ivanpaulovich/clean-architecture-manga/wiki)
[Use Cases](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Use-Cases)
[Flow of Control](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Flow-of-Control)
[Architecture Styles](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Architecture-Styles)
[Design Patterns](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Design-Patterns)
[Domain-Driven Design Patterns](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Domain-Driven-Design-Patterns)
[Separation of Concerns](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Separation-of-Concerns#separation-of-concerns)
[Encapsulation](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Encapsulation)
[Test-Driven Development TDD](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Test-Driven-Development)
[Fakes](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Fakes)
[SOLID](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/SOLID)
- Single Responsibility Principle
- Open-Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle
[.NET Core Web API](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/.NET-Core-WebAPI#.net-core-webapi)
- Swagger and API Versioning
- Microsoft Extensions
- Feature Flags
- Logging
- Data Annotations
- Authentication
- Authorization
[Entity Framework Core](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Entity-Framework-Core)
[Environment Configurations](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Environment-Configurations)
[DevOps](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/DevOps)
- Running the Application Locally
- Running the Tests Locally
- Continuous Integration & Continuous Deployment
[Docker](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Docker)
[Related Content and Projects](https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Related-Content-and-Projects)
Contributors β¨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Hit the
FORKbutton and show Clean Architecture on your profile.