A new Flutter API CRUD PROJECT. ✅
mockAPI used as an api.
- Clean Architecture
You can find more about this architecture in my article.
/// run in terminal for example: make run-ios-debug-test
run-ios-debug-test: flutter run --target lib/main.dart --flavor test --dart-define=APP_ENV=test
run-android-debug-dev: flutter run --target lib/main.dart --flavor dev --dart-define=APP_ENV=test
run-debug-uat: flutter run --target lib/main.dart --flavor uat --dart-define=APP_ENV=uat
run-debug-prod: flutter run --target lib/main.dart --flavor prod --dart-define=APP_ENV=prod
(EXCEPT ANDROID IN TEST MODE BECAUSE OF TEST KEYWORD, GRADLE WONT ACCEPT IT. FOR RUNNING ANDROID-DEV PLEASE USE MAKE COMMANDS)
make run-ios-debug-test
make run-android-debug-dev
make run-debug-uat
make run-debug-prod
You have to change locale& country on ios to change app locale
Unit tests created for all of usecases flutter test