Skip to content

A full-stack application using The Graph protocol to create and deploy a subgraph, and then Next.js to consume the data

Notifications You must be signed in to change notification settings

nhussein11/subgraph-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subgraph Explorer

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.

Getting Started 📚

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

Running the project 🏃

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

Deploying the subgraph explorer to the Graph 🚀

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.

Contributing ❤️

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.

About

A full-stack application using The Graph protocol to create and deploy a subgraph, and then Next.js to consume the data

Topics

Resources

Stars

Watchers

Forks

Languages