Skip to content

A project that use onion architecture for C# .net projects. Developed using the Test Driven Development and CQRS strategy.

License

Notifications You must be signed in to change notification settings

MarcosCostaDev/TDD-DDD-Eventsourcing-Mediator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDD-DDD-Eventsourcing-Mediator

Welcome to my project that I use for playing with technologies that I would like to explorer them more. Feel free to download the project and run in your enverionment.

Requirements for running in your enverionment

Optional

Techonologies have used in this project so far

  • .NET 5
  • ASP.NET WEB API
  • Swagger/Swagger UI
  • Hangfire
  • MediatR
  • AutoMapper
  • Entity Framework Core
  • SQLite
  • Docker

Unit Tests / Integration Tests

  • XUnit

Architectures

  • Onion Architecture
  • Message Bus
  • Fluent Validation

Design Patterns

  • Mediator
  • Dependency Injection
  • Inversion of control
  • Repository

Strategies

  • Domain Driven Design (DDD)
  • Test Driven Development (TDD)
  • Command Query Responsability Segregation (CQRS)
  • Entity Framework Code First
  • Linq / Lambda expressions

After Running

URLS

Expected Behaviour

Two background queue are created. They are named generate_fake_products and generate_fake_invoices

  • generate_fake_products: Products are generate automatically in every 30 seconds
  • generate_fake_invoices: Invoices are generate automatically in every 1 seconds
  • An event is trigger for every product created.
  • An event is trigger for every invoice created.

About

A project that use onion architecture for C# .net projects. Developed using the Test Driven Development and CQRS strategy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published