.github/workflows | ||
.vscode | ||
scripts | ||
src | ||
test | ||
tools | ||
.all-contributorsrc | ||
.editorconfig | ||
.gitignore | ||
.prettierignore | ||
CHANGELOG.md | ||
Clean-Architecture-Manga.sln | ||
Clean-Architecture-Manga.sln.DotSettings | ||
Directory.Build.props | ||
docker-compose.yml | ||
FUNDING.yml | ||
global.json | ||
LICENSE | ||
nuget.config | ||
README.md |
Clean Architecture with .NET Core & React+Redux 🌀
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 maintain two versions:
- Latest .NET Core 3.1 release - Check the .NET Core SDK on
global.json
. - .NET 5 - Experimental features and .NET 5.
Hit the
WATCH
button to get the latest Clean Architecture updates.
Manga is a Virtual Wallet software in which the customer register an account then manage the balance by Deposits
, Withdraws
and Transfers
.
The Web API's demo is hosted on Azure servers and there's a beautiful Swagger Client available.
We also support the React client:
Run the Docker container in less than 2 minutes using Play With Docker:
Build & Run
pushd src/WebApi/ClientApp
npm install
popd
dotnet run --project src/WebApi/WebApi.csproj --launch-profile Development
Then browse to:
- App:
http://localhost:5001
- Swagger:
http://localhost:5001/swagger/index.html
or try the Docker approach:
docker build -t my-app . -f src/WebApi/Dockerfile
docker run -p 6001:80 my-app
- App:
http://localhost:6001
- Swagger:
http://localhost:6001/swagger/index.html
Production Environment Setup
dotnet ef migrations add "InitialCreate" -o "DataAccess/Migrations" --project src/Infrastructure --startup-project src/Infrastructure
dotnet ef database update --project src/Infrastructure --startup-project src/Infrastructure
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
Use Cases
Flow of Control
Architecture Styles
Design Patterns
Domain-Driven Design Patterns
Separation of Concerns
Encapsulation
Test-Driven Development TDD
Fakes
SOLID
- Single Responsibility Principle
- Open-Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle
.NET Core Web API
- Swagger and API Versioning
- Microsoft Extensions
- Feature Flags
- Logging
- Data Annotations
- Authentication
- Authorization
Entity Framework Core
Environment Configurations
DevOps
- Running the Application Locally
- Running the Tests Locally
- Continuous Integration & Continuous Deployment
Docker
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
FORK
button and show Clean Architecture on your profile.