/ITL

Sample Web API implementation with .NET Core and DDD using Clean Architecture.

Primary LanguageC#MIT LicenseMIT

ITL

Sample Web API implementation with .NET Core and DDD using Clean Architecture.

Solution Design

The solution design focuses on a basic Domain Driven Design techniques and implementation, while keeping the things as simple as possible but can be extended as needed. Multiple assemblies are used for separation of concerns to keep logic isolated from the other components. .NET 7 C# is the default framework and language for this application.

Assembly Layers

  • ITL.Domain - This assembly contains common, entities and interfaces.
  • ITL.Application - This assembly contains all services implementations.
  • ITL.Infrastructure - This assembly contains the infrastructure of data persistence.
  • ITL.API - This assembly is the web api host.
  • ITL.Tests - This assembly contains unit test classes based on the NUnit testing framework.

How to contribute

đź’­ If you are new in Open Source world feel free to check our How to contribute guidelines

Validation

Data validation using FluentValidation

How to run application:

(Backend)

  1. Create empty database, name: KCTest.
  2. Execute migrations.
  3. Set connection string (in appsettings.json or by user secrets mechanism).
  4. Run .. .

(kctest-frontend)

Follow the instructions in README file.

¡Give a Star!

If you like this project, learn something or you are using it in your applications, please give it a star. Thanks! .. .

License

This project is open source and available under the -> MIT License