Skip to content

AkshayKothari440/Manga_Clean_Architecture_Final

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages