Note: Fastlane certifications aren't available to anyone outside of the Model Maker organisation. If you'd want to contribute, reach out at saml@everbit.dev
Most of this repo is self contained, however the Firebase Authentication will need to be setup manually.
- Create a Firebase Project. Reuse this between the App and the API
- Download
GoogleService-Info.plist
and place in ios/ - Run with Flutter
The project uses a custom entrypoint:
flutter run -t lib/main/main.dart
To configure your server address, change baseUrl
in lib/helpers/globals.dart For stability, also update the test in test/utils/globals_test.dart.
To run the tests, run the following command:
flutter test
To generate coverage reports, run the following command:
flutter test --coverage
To convert the report to html, run the following command:
genhtml coverage/lcov.info -o coverage/html
This project uses GitHub Actions for CI/CD. The workflow is defined in .github/workflows/ci.yml
Sources
Special thanks to Ben Komets for the sample testing image set bundled in this repo: https://www.youtube.com/watch?v=4LexaqdxdiU