This application is an inventory tracker for the Greater Vehikl Team. Chairs, desks, monitors and much more all in one place.
- Flutter v3 install here
- Firebase Tools:
npm i -g firebase-tools
- FlutterFire CLI:
dart pub global activate flutterfire_cli
- Optional (but recommended): VS Code or Android Studio for better tooling around Flutter development
Similarly to npm scripts, Flutter uses derry
to run custom scripts. All scripts are defined in the pubspec.yaml
under scripts
. Install derry globally:
flutter pub global activate derry
First-time Setup
- Install dependencies for running firebase functions and build them:
cd functions
npm install
npm run build
- Authenticate with Firebase:
firebase login
- Fetch Firebase configuration files (
google-services.json
andflutter_options.dart
):
flutterfire configure
- Start the Firebase emulators and seed data from
/emulator_data
:
firebase emulators:start --import ./emulator_data
- Run the app:
flutter run -d <device> --dart-define=USE_EMULATORS=true
or run it through your favourite IDE.
If you want to run the production app, make sure you have access to the production Spare Parts Firebase project.
- Run the app:
flutter run -d <device>
or run it through your favourite IDE.
Before running the tests it is required to build mock classes with
derry build-mocks
Run the tests:
flutter test
Generate coverage:
flutter test --coverage
Thanks go to these wonderful people (emoji key):
Andrii Denysenko 💻 🎨 🤔 |
Alisa Vynohradova 💻 🎨 🤔 |
Karen Gallego 💻 🎨 |
Adam Frank 💻 🎨 |
whitfona 💻 🎨 |
Oleksandr Levinskyi 💻 |
Becs403 💻 |
Deep Panchal 💻 |
||||||
|