This is a the companion app for the Campus Clean Up Game organized by OurFuture e.V. at the THI to store your credits and spend them on rewards.
- Register for the game by logging in with one of the supported providers.
- Collect trash on campus
- Hand in the trash at the collection point
- Show the QR code to the collection point staff
- Get credits for the trash you collected
- Spend your credits on rewards
-
Request access to the Firebase project from Philipp Opheys.
-
Install the Firebase CLI.
-
Login to your Firebase account.
firebase login
-
Install the Flutter CLI and activate it according to the documentation.
-
Run the following command to create the
firebase_options.dart
file. This file is used to connect to the Firebase project.flutterfire configure
-
Install the Flutter SDK.
-
Check your Flutter installation
flutter doctor
-
Switch to the
stable
channelflutter channel stable flutter upgrade
-
Install the dependencies
flutter pub get
-
Run the app
flutter run [-d Chrome / Edge / ...]
-
Build the app using CanvasKit in release mode
flutter build web --web-renderer canvaskit --release
-
Deploy the app to Firebase
firebase deploy