{"id":15774873,"url":"https://github.com/prashant-shahi/flutter-graphql-app","last_synced_at":"2025-03-31T14:35:11.024Z","repository":{"id":105890032,"uuid":"254352022","full_name":"prashant-shahi/flutter-graphql-app","owner":"prashant-shahi","description":"The sample Flutter application with graphql-flutter powered by Dgraph.","archived":false,"fork":false,"pushed_at":"2020-04-09T11:35:03.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-04T16:41:30.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/prashant-shahi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-09T11:25:05.000Z","updated_at":"2021-01-14T14:57:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b2da2a1-6f01-47c4-a5b8-29a5fd342f55","html_url":"https://github.com/prashant-shahi/flutter-graphql-app","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/prashant-shahi%2Fflutter-graphql-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant-shahi%2Fflutter-graphql-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant-shahi%2Fflutter-graphql-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant-shahi%2Fflutter-graphql-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashant-shahi","download_url":"https://codeload.github.com/prashant-shahi/flutter-graphql-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246483575,"owners_count":20784913,"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":[],"created_at":"2024-10-04T16:41:18.594Z","updated_at":"2025-03-31T14:35:10.998Z","avatar_url":"https://github.com/prashant-shahi.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter-graphql-app\n\nThe sample Flutter application with [GraphQL-Flutter](https://github.com/zino-app/graphql-flutter) powered by Dgraph.\n\n## Getting Started\n\n### Installation\n\nThis project assumes that you have the flutter setup done in your machine.\nIn case you don't, follow the steps in [Flutter website](https://flutter.dev/docs/get-started/install) to install it.\n\n#### Flutter Setup\n\nLet's clone the repo:\n\n```sh\ngit clone git@github.com:prashant-shahi/flutter-graphql-app.git\n```\n\nNow, open the repository using either VS Code or Android Studio.\nMake sure that you have android SDK and flutter extension/plugin installed.\n\n```sh\n$ flutter doctor\nDoctor summary (to see all details, run flutter doctor -v):\n[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.3 19D76, locale en-IN)\n[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)\n[✓] Android Studio (version 3.6)\n[✓] VS Code (version 1.44.0)\n```\n\n#### Setup GraphQL API powered by Dgraph\n\nBring up the [Dgraph](https://dgraph.io) standalone instance.\n\n```sh\ndocker run -it -p 8080:8080 dgraph/standalone:v2.0.0-beta\n```\n\nLet's create a schema file:\n\n```graphql\ntype Counter {\n  id: ID!\n  counter: Int! @search\n}\n```\n\nNow, let's generate query and mutation functions by passing the schema file to Dgraph:\n\n```sh\ncurl -XPOST localhost:8080/admin/schema --data-binary '@schema.graphql'\n```\n\n### Run\n\nClick on the run option in your editor. You can also use the shortcut `^R`/`F5`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-shahi%2Fflutter-graphql-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashant-shahi%2Fflutter-graphql-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-shahi%2Fflutter-graphql-app/lists"}