Blankeos / grats-gqty

⚛️ GQTY + Grats on Hono. Best GraphQL DevX on Frontend and Backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GQTY + Grats

Built this working example for gqty-dev/gqty#1608

A working example of Grats + GQTY.

I built the GraphQL API using Grats - autogenerates the schema.graphql from just typedocs.

On the frontend, I consume the schema.graphql or endpoint with GQTY a CLI and GraphQL Client .

Get Started

1. Install deps for client and server
> grats-gqty > cd client
> grats-gqty/client > pnpm i
> grats-gqty > cd server
> grats-gqty/server > pnpm i

2. Autogenerate Types on Client

> grats-gqty/client > pnpm gqty

3. Run both servers

> grats-gqty>server > pnpm dev

> grats-gqty>client> pnpm dev

About

⚛️ GQTY + Grats on Hono. Best GraphQL DevX on Frontend and Backend.


Languages

Language:TypeScript 89.4%Language:SCSS 5.3%Language:JavaScript 2.9%Language:HTML 2.4%