Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kartikeyaa-k/dinningapp-tdd-flutter
Flutter TDD and Clean code architecture implementation
https://github.com/kartikeyaa-k/dinningapp-tdd-flutter
bloc clean-architecture clean-code dart flutter tdd
Last synced: 29 days ago
JSON representation
Flutter TDD and Clean code architecture implementation
- Host: GitHub
- URL: https://github.com/kartikeyaa-k/dinningapp-tdd-flutter
- Owner: kartikeyaa-k
- License: mit
- Created: 2022-01-31T07:28:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-31T07:39:19.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T15:19:59.265Z (3 months ago)
- Topics: bloc, clean-architecture, clean-code, dart, flutter, tdd
- Homepage:
- Size: 106 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter TDD and Clean code architecture
## Dinner Generator Acceptance criteria
- App shows list of meal and drink categories, user has to pick one category from meal and drink, and generate a dinner (Randomized food and drink based on selected category)
- No specific UI layout to be followed
- Write test cases that cover the possible success and failure scenarios
- Use these public APIs:
- https://www.themealdb.com/api.php
- https://www.thecocktaildb.com/api.php
## Tech Stack
Please utilize them as much as possible:
- Dio (API calls)
- GetIt (Dependency injection)
- BLoC/Cubit (State management)
- Dartz (Success/Error handling in repository layer)
- Equatable (use in State classes)
- Hive (Shared Preferences)
- Unit testing with Mockito & bloc_test package
- Repository layer
- Extension functions