Use the Data Connect emulator for CI/CD

Firebase Data Connect provides you with a local emulator for end-to-end prototyping as well as continuous integration and continuous deployment (CI/CD) flows:

  • The Data Connect Toolkit integrates the emulator with UI tools that let you prototype schemas, queries and mutations interactively. We've covered this tooling in Get started with Firebase Data Connect.
  • The Data Connect emulator can also be used for non-interactive work. It lets you run automated tests and is suitable for use with CI/CD workflows. This is useful when your schemas are stable and you want to prototype and test client-side code.

This guide covers installation and usage of the emulator in more detail than the quickstart.

This is an excerpt from the Data Connect documentation. When you sign up for the Data Connect preview, you'll have full access to this guide, which covers:

  • Installing and setting up the Data Connect emulator
  • Integrating the emulator with a local PostgreSQL installation
  • Setting up client code to interact with the emulator
  • Using the emulator in CI/CD environments
  • Differences between the emulator and production Data Connect.