firebase-data-connect
Build and deploy Firebase Data Connect backends with PostgreSQL. Use for schema design, GraphQL queries/mutations, authorization, and SDK generation for web, Android, iOS, and Flutter apps.
Security Assessment
Detected risks:
About firebase-data-connect
Firebase Data Connect is a backend service designed to integrate PostgreSQL with Firebase for seamless data management and querying. It leverages Cloud SQL for PostgreSQL to enable developers to build relational data structures that work seamlessly with Firebase-powered applications. This service provides a GraphQL interface, auto-generated queries and mutations, as well as type-safe SDKs for multiple platforms, making it easier to build scalable and efficient web, Android, iOS, and Flutter applications. By using this service, developers can quickly deploy databases with advanced features without dealing with the complexities of manual SQL configuration and query generation.
FAQ
How do I define my data model in Firebase Data Connect?
You define your data model using GraphQL schema syntax in the `schema/schema.gql` file. You can define GraphQL types, tables, and relationships using directives like `@table`, `@col`, and `@ref` to structure your data effectively.
What platforms are supported for SDK generation?
Firebase Data Connect supports SDK generation for Android (Kotlin), iOS (Swift), Web (TypeScript), and Flutter (Dart) applications.
Can I perform complex queries like filtering and pagination?
Yes, Firebase Data Connect allows you to create complex queries with filters (e.g., `where`), ordering (e.g., `orderBy`), and pagination (e.g., `limit`, `offset`). These queries are auto-generated into the underlying SQL.
Is Firebase Data Connect compatible with Firebase emulators?
Yes, you can run Firebase Data Connect locally using Firebase emulators. This allows you to develop and test your application in an offline environment before deploying it to production.
Are there any requirements for securing my Firebase Data Connect app?
Yes, Firebase Data Connect includes built-in authorization features. You can use the `@auth` directive for different access levels like PUBLIC or USER, and row-level security can be enforced using directives such as `@check` and `@redact`.
Install firebase-data-connect
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
firebase/agent-skills