{"id":18493035,"url":"https://github.com/graphprotocol/full-stack-graph-app","last_synced_at":"2025-04-08T22:30:36.247Z","repository":{"id":43018751,"uuid":"393114238","full_name":"graphprotocol/full-stack-graph-app","owner":"graphprotocol","description":"Deploy a full stack app leveraging The Graph with one click.","archived":false,"fork":false,"pushed_at":"2022-03-23T00:21:41.000Z","size":19592,"stargazers_count":10,"open_issues_count":2,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-23T18:51:48.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/graphprotocol.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":"2021-08-05T16:49:33.000Z","updated_at":"2024-01-22T21:54:52.000Z","dependencies_parsed_at":"2022-09-07T05:32:38.325Z","dependency_job_id":null,"html_url":"https://github.com/graphprotocol/full-stack-graph-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/graphprotocol%2Ffull-stack-graph-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Ffull-stack-graph-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Ffull-stack-graph-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Ffull-stack-graph-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphprotocol","download_url":"https://codeload.github.com/graphprotocol/full-stack-graph-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247939707,"owners_count":21021831,"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-11-06T13:12:20.909Z","updated_at":"2025-04-08T22:30:31.228Z","avatar_url":"https://github.com/graphprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Query NFT data with a Subgraph in your Browser\n\nThis is an example app to show you how to [query data from a Subgraph](https://thegraph.com/docs/developer/query-the-graph#querying-from-your-app) from a client-side application.\n\nThe project includes a front-end application built with Next.js that queries NFT data from a subgraph that indexes data from the [Foundation smart contracts](https://fnd.dev/).\n\n## Deployment options\n\n### 1. Automate with Gitpod in Browser \n\nYou can deploy this project with Gitpod by clicking here:\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#github.com/graphprotocol/full-stack-graph-app)\n\nOnce the setup is complete, the app will be started and you should be able to open it and view it:\n\n![Test launched project](portopen.png)\n\n### 2. Local Deployment on your Machine \n\nTo deploy locally, follow these steps:\n\n1. Clone the project\n\n```sh\ngit clone git@github.com:graphprotocol/full-stack-graph-app.git\n```\n\n2. Change into the __graph-frontend__ directory and install the dependencie:\n\n```sh\ncd full-stack-graph-app/graph-frontend\n\nnpm install\n```\n\n3. Start the server:\n\n```sh\nnpm run dev\n```\n\n4. Optional\n\nIf you have an endpoint that you'd like to use, update __.env.local__ with your subgraph endpoint.\n\n### 3. Deploying your own Subgraph \n\n1. Change into the __foundation-subgraph__ directory and install the dependency:\n\n```sh\ncd foundation-subgraph\n\nnpm install\n```\n\n2. Create a new Subgraph in [Subgraph Studio](https://thegraph.com/studio/)\n\n3. Configure your deploy key\n\n```sh\ngraph auth --studio\n```\n\n4. Deploy your subgraph\n\n```sh\ngraph deploy --studio \u003csubgraph-name\u003e\n```\n\n5. Update the API endpoint environment variable in __graph-frontent/.env.local__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Ffull-stack-graph-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphprotocol%2Ffull-stack-graph-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Ffull-stack-graph-app/lists"}