Build with Firebase Data Connect (Android)

1. Overview

ddc52cd46f923cf1.png

In this codelab, you'll integrate Firebase Data Connect with a Cloud SQL database to build a movie review Android app. You will learn how to:

  • Write a GraphQL schema for Firebase Data Connect
  • Write queries and mutations
  • Implement user authentication to secure your data

Prerequisites

  • Latest version of Android Studio
  • Android emulator with API Level 23 or higher

What you'll learn

  • How to set up Firebase Data Connect with local emulators.
  • How to design a data schema using Data Connect and GraphQL.
  • How to write queries and mutations for a movie review app.
  • How to generate the Kotlin SDK and use it in an Android app.
  • (Optionally) How to deploy a Data Connect service to production.

2. Set up the sample project

Create a Firebase project

  1. Sign into the Firebase console using your Google Account.
  2. Click the button to create a new project, and then enter a project name (for example, Movie Review).
  3. Click