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.
$ dotnet run --project "source/Manga.WebApi/Manga.WebApi.csproj"
- MacOS Catalina 🍎
- Visual Studio Code ❤️
- .NET Core SDK 2.2
- Docker 🐳
- SQL Server
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
I am happy to clarify the decisions I made in this project through the Issues tab so everyone will take benefit from the discussions.