The employers coffee app is a flutter mobile application helps a company's employers add their own coffee preference, the app uses firestore as a database to save the coffees data and utilizies google login, email and password login for authentication
-
Ability to add your coffee preference by using it's type and if you like it hot or cold.
-
Edit your coffee preference and have it updated in realtime using Firestore.
-
Review your profile details after logging in by google or email.
- You’ll need to create a Firebase instance. Follow the instructions at https://console.firebase.google.com.
- Once your Firebase instance is created, you’ll need to enable Google authentication.
- Go to the Firebase Console for your new instance.
- Click “Authentication” in the left-hand menu
- Click the “sign-in method” tab
- Click “Google” and enable it
- Navigate to the Firebase Console.
- Select your Firebase project.
- Go to the "Database" section.
- Choose Firestore as your database.
- Setting Up Security Rules (Optional): You can set up security rules to control access to your Firestore database. Learn more about Firestore security rules here.
- Create an app within your Firebase instance for Android, with package name com.yourcompany.news
- Run the following command to get your SHA-1 key: keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore
- In the Firebase console, in the settings of your Android app, add your SHA-1 key by clicking “Add Fingerprint”.
- Download google-services.json and place it into /android/app/.
- Create an app within your Firebase instance for iOS, with your app package name
- Download GoogleService-Info.plist
- Open XCode, right click the Runner folder, select the “Add Files to ‘Runner'” menu, and select the GoogleService-Info.plist file to add it to /ios/Runner in XCode
- Open /ios/Runner/Info.plist in a text editor. Locate the CFBundleURLSchemes key. The second item in the array value of this key is specific to the Firebase instance. Replace it with the value for REVERSED_CLIENT_ID from GoogleService-Info.plist
- Rename .env.example file to .env.
- Add your firebase project apiKey and appId