Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 988 Bytes

File metadata and controls

44 lines (31 loc) · 988 Bytes

Android Makers Backend

You can explore the API using the sandbox:

https://androidmakers.fr/sandbox

For an example, the following query returns the 100 first sessions:

query {
  sessions(first: 100) {
    nodes {
      id
      title
      speakers {
        name
      }
    }
  }
}

Authentication

Setting and reading bookmarks requires to be authenticated. Authentication is handled through Firebase authentication. Retrieve an id token with Firebase.auth.currentUser?.getIdToken() and pass it in your "Authorization" headers:

Authorization: Bearer ${firebaseIdToken}

Changing data:

You can modify data in service-graphql/src/main/resources/data.json. Changes are deployed when pushed to main

Running locally:

To run locally (requires Google Cloud service account key):

./gradlew :service:run