Skip to content

Simple CRUD example by using .Net Core 2.2 with DDD structure, Swagger, FluentValidation, Entity Core and MySQL Connection.

Notifications You must be signed in to change notification settings

lucianopereira86/CRUD-NetCore-MySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

CRUD-NetCore-MySQL

Simple CRUD example by using .Net Core with DDD structure, Swagger, FluentValidation, AutoMapper, Entity Framework Core and MySQL Connection.

Technologies:

  • .Net Core 2.2
  • Swagger
  • FluentValidation
  • AutoMapper
  • Entity Framework Core
  • MySQL Database

To run this project

  • Run the script located at "/Docs/script.sql" to create the database on MySQL Workbench or on another program of your preference.

  • Open the solution located at "/APICRUDCoreRegister/APICRUDCoreRegister.sln" and configure the database connection on appsettings.json:

Alt Text

  • Run the application and it will open on: http://localhost:63850/swagger

Alt Text

DDD Structure

  • Solution:

Alt Text

  • Presentation Layer:

Alt Text

  • Domain Layer:

Alt Text

  • Infra Layer:

Alt Text

About

Simple CRUD example by using .Net Core 2.2 with DDD structure, Swagger, FluentValidation, Entity Core and MySQL Connection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages