Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

the-guild-org/maverick-subgraph

Repository files navigation

Graph Client deployed on Worker

This is a demonstration of graph-client deployed on Cloudflare Workers. This API uses response caching plugin from GraphQL Mesh which helps reduce the calls to the origin server. A Cloudflare KV store is used as a store for storing the cached responses.

Deployment

  1. Clone this repository
  2. Install all the dependencies using pnpm install
  3. Login to your Cloudflare account using pnpm wrangler login
  4. Create a KV namespace using pnpm wrangler kv:namespace create "MaverickSubgraph" and update the wrangler.toml file with the KV namespace ID
  5. Build the project using pnpm build
  6. Deploy the project using pnpm run deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks