Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase Authentication + Firestore setup #56

Merged
merged 22 commits into from
Feb 20, 2023
Merged

Firebase Authentication + Firestore setup #56

merged 22 commits into from
Feb 20, 2023

Conversation

nadinekuo
Copy link
Collaborator

@nadinekuo nadinekuo commented Feb 19, 2023

  • Firebase Authentication setup (dummy users added for now)

image

  • Basic login screen that allows users to login - see .../frontend/README for dummy credentials you can use for logging in (we may make it more fancy later once we have a logo etc.)

  • Basic logout functionality under "Settings" screen for verifying Firebase Auth (issue Settings/Profile View #38 handles this screen)

  • Firestore database setup
    image

  • Data models for User and Field added (more models and fields can be added on basis of necessity in the future)

  • Very simple list of fields displayed under "My Fields" screen to verify database interaction (issue Listview of all fields of this user #16 will handle this)

@DimanSUzunov
Copy link
Collaborator

The setup looks good, and the structure as well. Could you link the resource you used to do the authentication?

@@ -0,0 +1,31 @@
import 'package:flutter/material.dart';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Fields List a component for all fields that exist, and MyFields for the fields of the user?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, FieldList is an inner widget of the MyFields widget, listing all fields of the user

@nadinekuo
Copy link
Collaborator Author

The setup looks good, and the structure as well. Could you link the resource you used to do the authentication?

You all should be able to access our Firebase project in the web console: https://console.firebase.google.com/project/terrafarm-378218/overview. This Firebase project is connected to the GCP project Paul created in: https://console.cloud.google.com/home/dashboard?project=terrafarm-378218.

@nadinekuo nadinekuo merged commit 4561d6e into dev Feb 20, 2023
@nadinekuo nadinekuo deleted the 13-firebase-auth branch February 20, 2023 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate Firestore into Flutter project Integrate Firebase Authentication in Flutter application
2 participants