This project is a simple 8Ball that uses AI to answer your questions. Contains firebase cloud setup and flutter application (iOS/ Android).
- Install git-secret
- Ensure you have access to the project secrets
- Unpack secrets
git secret reveal
- Install Node.js version @16
- Install firebase-tools globally
npm install -g firebase-tools - Initialize firebase
firebase init - Go to the project cloud functions directory
cd firebase/functions - Install dependencies
npm install - Run the emulator
npm run emulator:all
-
Install Flutter
-
In the root of the project run
flutter pub get -
Run build_runner
flutter pub run build_runner build --delete-conflicting-outputs -
Run the app
flutter runEnvironment variables:
- FIREBASE_ENV -
cloudoremulator - EMULATOR_REMOTE_HOST -
localhostor actual host IP address to access remote emulations
- FIREBASE_ENV -