firebase-data-connect

Provision Firebase Data Connect backends with PostgreSQL and auto-generated GraphQL APIs.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/involvex/happy-vibecode --skill firebase-data-connect-involvex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-data-connect
Source: https://github.com/involvex/happy-vibecode/tree/main/.agents/skills/firebase-data-connect
Command: npx skills add https://github.com/involvex/happy-vibecode --skill firebase-data-connect-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies building, deploying, and maintaining relational backends on Firebase by combining PostgreSQL (Cloud SQL) with an auto-generated GraphQL schema, operations, and platform SDKs so teams avoid hand-coding schema migrations, resolvers, and client bindings.

Core Features & Use Cases

  • Schema-first relational modeling with GraphQL types mapped to PostgreSQL tables and directives for indexes, defaults, and relations.
  • Auto-generated operations including queries, mutations, upserts, transactions, and complex filters to eliminate manual SQL coding.
  • Security & authorization via @auth, @check, and @redact directives for row-level policies and role-based access patterns.
  • SDK generation & integrations for Web (TypeScript), Android (Kotlin), iOS (Swift), Flutter (Dart), and Admin SDKs to provide type-safe client code.
  • Advanced search & data features including vector similarity (pgvector + embeddings), full-text search, data seeding, and Cloud Functions triggers for event-driven workflows.
  • Deployment & developer tooling with dataconnect.yaml, connector config, local emulators, migration diffs, and CI/CD deploy commands.

Quick Start

Initialize a dataconnect service with your GraphQL schema and connector configuration, generate SDKs, and start the local emulator to test queries and migrations.

Frequently Asked Questions about firebase-data-connect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a GraphQL API from PostgreSQL on Firebase?

You can generate a GraphQL API from PostgreSQL by provisioning a Firebase Data Connect backend, which auto-generates schema operations and client SDKs from your relational tables. This eliminates manual SQL coding and resolver configuration.

Does Firebase Data Connect support vector similarity search and full-text search?

Firebase Data Connect supports advanced search capabilities including vector similarity search using pgvector and embeddings, alongside full-text search. This allows complex querying directly through your auto-generated GraphQL operations.

How do I enforce row-level security and authorization in Firebase Data Connect?

You enforce row-level security using @auth, @check, and @redact directives in your GraphQL schema. These directives configure role-based access patterns and row-level policies for your PostgreSQL backend.

Can I generate type-safe client SDKs for web and mobile apps with Firebase Data Connect?

Firebase Data Connect generates type-safe client SDKs for Web in TypeScript, Android in Kotlin, iOS in Swift, and Flutter in Dart. Admin SDKs are also provided to ensure type-safe client code across platforms.

What is the best way to test schema migrations locally before deploying to Firebase?

The best way to test schema migrations locally is using the Firebase Data Connect local emulator. Initialize your service with the GraphQL schema and dataconnect.yaml, then run the emulator to test queries and migration diffs.

How do I handle relational data modeling and schema migrations in Firebase Data Connect?

Firebase Data Connect uses a schema-first approach mapping GraphQL types to PostgreSQL tables with directives for indexes and relations. It automatically satisfies schema-to-SQL migrations, eliminating hand-coding.