holtzmak / Community-Meal-Planner-Forum

A Flutter and Firebase forum application to support community discussion for meal planning, sustainable practices, development, and education
Creative Commons Attribution Share Alike 4.0 International
2 stars 1 forks source link

Add json conversion, cloud firestore dependencies, and first attempt at communicating with firestore #38

Closed holtzmak closed 3 years ago

holtzmak commented 3 years ago

This PR adds:

  1. Cloud Firestore dependency, configured for mobile and web.
  2. The JSON conversion functions for app types. Closes #23, closes #24, closes #25.
  3. Adjusts the Database Conceptual Data Model to better match cloud firestore.

    For example, there is no need for IDs in the app objects, these are intended as the doc IDs in FIrebase The username is not used in FirebaseAuth, but an email is. This works well because people can choose their display name and not have it be unique across the application


Unfortunately, it looks like flutter web and cloud firestore are incompatible ATM FirebaseExtended/flutterfire#4127. I'll keep watch on this issue for updates on what the correct FirebaseJs to use. Currently, I can't find a sweet spot and I do not wish to play around with my dependencies any longer. The app will move forward being able to run all deployments, but web is broken for external communications.