Skip to content

Simple Clean Web API setup for postgresql

Notifications You must be signed in to change notification settings

matixan/CleanWebApiTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published