This project is developed using Flutter, embracing the principles of Test Driven Development (TDD) and Clean Architecture. The goal of this project is to provide guidance to Flutter developers on a high-quality and sustainable application development process.
This section provides instructions on how to get the project running on your local machine.
- Flutter SDK (version 3.19.0)
- Dart SDK (version 3.3.0)
- An IDE (preferably Visual Studio Code or Android Studio)
- Clone the repository:
git clone https://github.com/yunusemrealpak/flutter_clean_architecture_with_tdd.git
- Install dependencies:
flutter pub get
- Run the application:
flutter run
This project follows the Clean Architecture approach, comprising the following layers:
- Presentation Layer: Manages user interface and user interactions.
- Domain Layer: Contains the business logic and use cases of the application.
- Data Layer: Manages interaction with data sources (API, local database).
This project adopts the principles of Test Driven Development (TDD), following these steps:
- Write a Test: Write a test for the functionality.
- Red: See the test fail.
- Green: Write the minimum amount of code for the test to pass.
- Refactor: Clean up the code.
- Yunus Emre Alpak - Initial work - yunusemrealpak