Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.62 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.62 KB

Buber Dinner

The idea

Allows you to turn your home into a restaurant where... Just like people turning their homes into hotels via AirBNB.

Watch these YouTube vidoes for the background.

REST API following CLEAN ARCHITECTURE & DDD Tutorial

This is a sample project to showcase the power of the FunctionalDDD library.

Concepts & Tech used

  • .NET 7, EF Core
  • Clean Architecture & Domain-Driven Design principles
  • Common patterns such as CQRS, repository, mediator
  • Open source libraries such as Mediator, FluentValidation, FunctionalDDD, Mapster
  • Authentication: JWT tokens

Clean Architecture

Onion Layers High level blocks Lower level blocks

  • The Domain and Application layers are the focus and therefore the core of the system.
  • The Domain layer contains business logic, AggregateRoot, Entities and ValueObjects.
  • The Application layer contains business logic and glue to combine Infrastructure & Domain.
  • The Infrastructure layer contains glue code to connect the application to the outside world. It contains implementations of interfaces defined in the Application layer.
  • The Presentation layer is the entry point to the system. It is responsible for translating HTTP requests into commands and queries for the application layer to handle.