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.git
First, you need to install the dependencies for the subgraph explorer.
cd subgraph-explorer
yarn install
After that, you need to install the dependencies for the frontend
cd frontend
yarn install
To run the project, you need to only run the frontend, because I've deployed the subgraph explorer to the Graph.
cd frontend
yarn dev
To 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.