{"id":18773791,"url":"https://github.com/janumedia/graphql-firebase-demo","last_synced_at":"2026-04-12T10:43:20.062Z","repository":{"id":37022237,"uuid":"134282413","full_name":"janumedia/graphql-firebase-demo","owner":"janumedia","description":"GraphQL + Firebase CRUD example","archived":false,"fork":false,"pushed_at":"2023-01-09T11:23:52.000Z","size":1048,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T08:41:42.961Z","etag":null,"topics":["crud","crud-sample","express","express-graphql","firebase","firebase-admin","firebase-database","graphql","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janumedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-21T14:44:35.000Z","updated_at":"2022-06-19T00:27:26.000Z","dependencies_parsed_at":"2023-02-08T10:00:27.546Z","dependency_job_id":null,"html_url":"https://github.com/janumedia/graphql-firebase-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janumedia%2Fgraphql-firebase-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janumedia%2Fgraphql-firebase-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janumedia%2Fgraphql-firebase-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janumedia%2Fgraphql-firebase-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janumedia","download_url":"https://codeload.github.com/janumedia/graphql-firebase-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239680985,"owners_count":19679509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crud","crud-sample","express","express-graphql","firebase","firebase-admin","firebase-database","graphql","nodejs"],"created_at":"2024-11-07T19:35:46.083Z","updated_at":"2025-12-14T00:30:19.082Z","avatar_url":"https://github.com/janumedia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple GraphQL + Firebase Demo\n\nThis repo provide an example to integrate GraphQL and Firebase\n\n# Depedencies\n\nTo simplify this demo is using `express-graphql` as Node HTTP server. \nOther depedencies use in this demo is available in `package.json` file.\n\nTo help development process this repo using `nodemon` to monitor any node change so you will no need to restart the server everytime update the scripts.\n\n# Note\n\nTo integrate with Firebase this repo using [firebase-admin](https://www.npmjs.com/package/firebase-admin), make sure to read how to generate [Firebase Admin Private Key](https://firebase.google.com/docs/admin/setup#initialize_the_sdk) as you will need to generate your own `serviceAccountKey.json` and save it on the root project directory\n\nBe sure to manage your [Firebase database rules](https://firebase.google.com/docs/database/security/quickstart) to make it work\n\n# Example query\n\nOpen `http://localhost:8080/graphql` on your browser and paste the following queries to test:\n\nQuery to addAuthor and return the author's id and name:\n\n```js\n\nmutation {\n  addAuthor(name: \"Stephen Edwin King\") {\n    id\n    name\n  }\n}\n\n```\n\nQuery to addBook and return the book's id, title and author's name:\n\n```js\n\nmutation {\n  addBook(title:\"Dreamcatcher\", authorid:\"888\")\n  {\n    id\n    title\n    author {\n      name\n    }\n  }\n}\n\n```\n\nQuery to get book by ID including author name:\n\n```js\n\n{\n  book(id:\"888\"){\n    title\n    author{\n      name\n    }\n  }\n}\n\n```\n\nQuery to get all authors and their books\n\n```js\n\n{\n  authors{\n    name\n    books {\n      title\n    }\n  }\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanumedia%2Fgraphql-firebase-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanumedia%2Fgraphql-firebase-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanumedia%2Fgraphql-firebase-demo/lists"}