Skip to content

benrice/SnackMachine

 
 

Repository files navigation

DDD implementation of Snack Machine

Overview

DDD implementation of Snack Machine, coming from design-in-practice course.

Libraries used

  • Mediator pattern - process(request) delegator inside Application\Seedwork.
  • Dapper - to query database
  • GuardClauses - use GuardClauses
  • FluentValidation, xUnit - for unit testing
  • AutoMapper - define mappings between Domain Entities and DTOs.
  • NHibernate - .Net ORM to access data.
  • Entity Framework Core - MS .Net ORM to access data.
  • Autofac & .Net DependencyInjection - Dependency Injection library to wire project's dependencies into .Net built-in DI(ServiceCollection).

Getting started

  1. Clone the repo.
  2. Run 'database.sql' on sql server.
  3. Set ConnectionString on 'App.config'
  4. Run the WPF project
  5. Switch to either NHibernate or Ef through autofac.json.

Vocabularies

  1. Seedwork
  2. Mediator
  3. UnitOfWork
  4. Domain Event
  5. Anemic class

TODOs

  • Checkout Issues
  • TODOs comments in the codebase

About

DDD implementation of Snack Machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.4%
  • TSQL 7.6%