Skip to content

Pure and simple implementation following the Clean Architecture Principles, decoupled from frameworks and technology details. Use Cases as central organizing structure and smaller components developed and tested in isolation.

License

Notifications You must be signed in to change notification settings

Sahil-Maiyani/clean-architecture-manga

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 Clean Architecture Implementation Template for .NET apps 🌀

Pure and simple implementation following the Clean Architecture Principles, decoupled from frameworks and technology details. Use Cases as central organizing structure and smaller components developed and tested in isolation.

▶️ Running from source

$ dotnet run --project "source/Manga.WebApi/Manga.WebApi.csproj"

🏁 Development Environment

  • MacOS Catalina 🍎
  • Visual Studio Code ❤️
  • .NET Core SDK 2.2
  • Docker 🐳
  • SQL Server

💾 Setup SQL Server in Docker

Install SQL Server

To spin up a SQL Server in a docker container using the connection string Server=localhost;User Id=sa;Password=<YourNewStrong!Passw0rd>; run the following command:

$ ./source/scripts/sql-docker-up.sh

Add Migration

Run the EF Tool to add a migration to the Manga.Infrastructure project.

$ dotnet ef migrations add "InitialCreate" -o "EntityFrameworkDataAccess/Migrations" --project source/Manga.Infrastructure --startup-project source/Manga.WebApi

Update the Database

Generate tables and seed the database via Entity Framework Tool:

dotnet ef database update --project source/Manga.Infrastructure --startup-project source/Manga.WebApi

☎️ Support and Issues

I am happy to clarify the decisions I made in this project through the Issues tab so everyone will take benefit from the discussions.

About

Pure and simple implementation following the Clean Architecture Principles, decoupled from frameworks and technology details. Use Cases as central organizing structure and smaller components developed and tested in isolation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.6%
  • Other 0.4%