lucianopereira86 / CRUD-NetCore-MySQL

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:C# 100.0%