Skip to content

My DDD(Domain Driven Design) template for quickly bootstrapping Flutter apps inspired by Resocoder

Notifications You must be signed in to change notification settings

bahrie127/DDD-template

 
 

Repository files navigation

DDD template

This repoitory follows Data Driven Design Strcuture. In this structure, all the code is divided into four layers each being independent of each other.

  • Application
  • Domain
  • Infrastructure
  • Presentation

alt text

Application

This layers contains all the business logic and stores all the blocs. This layer is completely independednt of infrastructure layer and just contacts with Presentation and Domain Layer.

Domain

This layer is in contact with Application and Infrastructure layer where we defines all the validation, model classes, abstract classes to be completed in infrastructure layer etc.

Infrastructure

This layer contains all the backend related code that is related to API, lets say if in future we wishes to move on AWS from firebase then we need to touch only this layer.

Presentation

This layer contains all the screen i.e. UI/UX part will be there and will remain in contact with application layer only.

File Strcucture

Outer Structure


About

My DDD(Domain Driven Design) template for quickly bootstrapping Flutter apps inspired by Resocoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 86.9%
  • C++ 8.2%
  • CMake 3.2%
  • HTML 0.8%
  • C 0.3%
  • CSS 0.3%
  • Other 0.3%