Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

3.1 - Implement Data Layer #14

Closed
BeatriceMitchell opened this issue Feb 9, 2022 · 5 comments
Closed

3.1 - Implement Data Layer #14

BeatriceMitchell opened this issue Feb 9, 2022 · 5 comments

Comments

@BeatriceMitchell
Copy link
Contributor

BeatriceMitchell commented Feb 9, 2022

We need to have a Firebase data layer that starts working immediately after the user updates the Firebase credentials. It will be mocked until those are changed.

Child Tasks: #45, #35

@BeatriceMitchell
Copy link
Contributor Author

Note: Need to reach out to Andrew to clarify whether the Firebase can be pretend or needs to be easily hooked up.

@BeatriceMitchell
Copy link
Contributor Author

To quote from the Proposal:

The module should include a mock data layer and a Firebase-backed data layer.
The mock data layer should be enabled by default.
In other words, the code on GitHub should have a blank value for Firebase credentials. If unmodified, the code detects the blank value and automatically uses the mock data layer.

The Firebase data layer should be ready to work out of the box whenever the developer adds in their credentials, and the README/instructions should reflect that.

@BeatriceMitchell BeatriceMitchell changed the title Mock Data Layer Data Layer Feb 10, 2022
@BeatriceMitchell BeatriceMitchell self-assigned this Feb 10, 2022
@BeatriceMitchell
Copy link
Contributor Author

@Jan-Stepien Create two tasks: One for mocking the data layer, and one for the Firebase-backed data layer

@BeatriceMitchell BeatriceMitchell removed their assignment Feb 10, 2022
@BeatriceMitchell BeatriceMitchell changed the title Data Layer 3.1 - Implement Data Layer Feb 10, 2022
@BeatriceMitchell
Copy link
Contributor Author

Per discussion with Google, there is no need for actual mocking. If they have credentials, it initializes the Firebase repo and uploads to Firestore. If they don't have any credentials, it doesn't communicate at all.

@BeatriceMitchell
Copy link
Contributor Author

Current time estimate is about 3 days

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants