Crypto Loss Gain Calculator App build with Flutter

  calculator

Crypto Loss Gain Calculator

Crypto Loss Gain Calculator App build with Flutter. It developed with DDD (Domain Driven Design) principles.

Domain-Driven Design

Domain-driven design is a concept in order structure software projects and maintain the domain layer of the source code by Eric Evans. For further reading, here. DDD is robust, solid & be applicable to various fields of software development. Thanks to DDD, massive projects are much maintainable with its principles.

Flutter with DDD

In Flutter development, DDD might be used with different state management libraries; such as BLOC, provider, redux… This project uses Provider. The directory of the project is mainly seperated into 4 subdirectories: Application, Domain, Presentation, Infrastructure. Each subdirectory has a valuable role in DDD. Every one of them should be considered as a layer of a building. Some layers contact other layers, some do not. For further reading, here.

To Run

git clone https://github.com/stelselim/CryptoLost-App.git
cd CryptoLost-App
flutter pub get
flutter run

Testing

Integration Test

  • Calculation Test
flutter drive \                                                             
  --driver=test_driver/integration_test.dart \
  --target=integration_test/calculation_test.dart \
  -d {DEVICE_ID}

CI/CD with CodeMagic

Continuous Integration & Delivery (CI/CD) with Codemagic is properly set. For further reading, here.

Download Crypto Loss Gain Calculator source code on GitHub