Skip to content

This is a basic project to demonstrate an introduction about the implementation of Clean Architecture on .NET

Notifications You must be signed in to change notification settings

cristofima/StoreCleanArchitecture-NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Store Clean Architecture

Clean Architecture's implementation in 3 layers (Application Core, Infrastructure and Web API)

To build this project

dotnet restore
dotnet build

Configure the database settings in src\Store.WebApi\appsettings.json

{
  "ConnectionStrings": {
    "DefaultConnection": "Server=localhost;Database=DemoStore;User ID=sa;Password=coronadoserver2018;Trusted_Connection=True;"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Warning"
    }
  },
  "AllowedHosts": "*"
}

To create the tables in the database, go to src\Store.WebApi

dotnet ef database update

To run, go to src\Store.WebApi

dotnet run

To test Unit and Integration projects, go to solution folder

dotnet test