Made with Clean architecture + TDD + GraphQL + flutter_bloc + CodeCov + GitHooks + GitHub Actions (CI/CD) and finally with π
A simple app to demonstrate Clean Architecture with GraphQL and flutter_bloc
In Martin Fowler's words,
βAny fool can write code that a computer can understand. Good programmers write code that humans can understand.β (Refactoring: Improving the Design of Existing Code, 1999, p. 22)
With this idea in mind, I wanted to demonstrate how we can make a simple app in production grade (and I hope I made my case).
flutter format
flutter analyze
and flutter test
git clone https://github.com/excogitatr/rick-and-morty-info.git
flutter pub get
flutter run
*.freezed.dart
, *.g.dart
, *.iconfig.dart
are auto generated. If there is any issue from these files just run this command to regenerate them.
flutter pub run build_runner watch --delete-conflicting-outputs
For help getting started with Flutter, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.