TheGraph's hosted service was capable of providing data through API requests without requiring any keys, allowing any front-end to retrieve data directly from subgraphs without necessitating a back-end.
However, this hosted service is set to be phased out in 2023, and only subgraphs published on their decentralized network will have the capability to serve data through a paid API key. Consequently, having a back-end will be essential to securely manage the API key and serve data to our front-end from Gro's subgraphs.
A new Node.js bot, fully developed in TypeScript, has been implemented to facilitate this data flow, with the following configuration:
Host |
|
Port |
3015 |
Gateway |
|
Host folder |
~/gro/subgraph/ |
Start command |
|
Repository |