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

Setup a local dev environment with mocked Firebase #31

Closed
4 tasks
emettely opened this issue Mar 18, 2020 · 1 comment
Closed
4 tasks

Setup a local dev environment with mocked Firebase #31

emettely opened this issue Mar 18, 2020 · 1 comment
Assignees
Labels
devOps Dev Ops type work enhancement New feature or request firebase
Milestone

Comments

@emettely
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Our local development environment currently links to an actual Firestore DB in dev environment.
Most often when developing locally, you use the env variable to determine which environment you're in. From there, you would need to replace the Firebase SDK to a mocked one.

Describe the solution you'd like

  • A local dev environment that uses a mocked database instead of the live one.
  • Document the process here
  • Running locally reflects what would be on live
  • Deploying to live reflects what was in local development

Describe alternatives you've considered

Additional context

@emettely emettely added enhancement New feature or request devOps Dev Ops type work firebase labels Mar 18, 2020
@emettely emettely added this to the Maintenance milestone Mar 18, 2020
@allishultes allishultes self-assigned this Mar 24, 2020
@allishultes
Copy link
Contributor

allishultes commented Apr 8, 2020

Alternative approach:

Everyone claim a project id. You are responsible for the data in your project. Please input test data (for reference check out project MHhZZHXlzvGA9c9ARkEE) and only use your project when working on an issue locally.

  1. @katiaartsenkova:
  • title: katia
  1. @bennuttall:
  • title: ben
  1. @emettely:
  • title: eimi
  1. @allishultes:
  • title: alli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devOps Dev Ops type work enhancement New feature or request firebase
Projects
None yet
Development

No branches or pull requests

2 participants