This is a subgraph explorer for the Graph. It allows you to explore the subgraphs deployed to the Graph and their entities. The idea of this project is to show how to build a subgraph explorer using the Graph, deploy it to the Graph and use it to explore the subgraphs deployed to the Graph and finally consume the data using Nextjs.
To get started, clone the repository and install the dependencies: _ Note: This project uses yarn _
git clone https://github.com/nhussein11/subgraph-explorer.gitFirst, you need to install the dependencies for the subgraph explorer.
cd subgraph-exploreryarn installAfter that, you need to install the dependencies for the frontend
cd frontendyarn installTo run the project, you need to only run the frontend, because I've deployed the subgraph explorer to the Graph.
cd frontendyarn devTo deploy the subgraph explorer to the Graph, I highly recommend you to read the Graph documentation. Specifically, you need to read the Create a Subgraph and the Deploy a Subgraph sections. Then, you will understand how to create and deploy a subgraph to the Graph.
If you want to contribute to this project, feel free to open a pull request or an issue. I will be happy to review it.