Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Web API template (ASP .NET Core)

Simple clean web API template with setup for postgresql. Template is using:

  • Entity Framework with Postgresql
  • NUnit
  • Automapper
  • MediatoR
  • Moq
  • SwaggerUI

Template is based on CleanArchitecture.

Using dotnet EF

To install entity framework globaly use:

dotnet tool install --global dotnet-ef

After installing you can use it to generate new migration via:

dotnet ef migrations add "MigrationName" --project src\Infrastructure --startup-project src\WebUI --output-dir Persistence\Migrations

Aside for creating new migrations you can also remove the last one by using remove command:

dotnet ef migrations remove --project src\Infrastructure

About

Simple Clean Web API setup for postgresql

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages