├── .eslintrc.json ├── .gitignore ├── .graphqlrc.json ├── README.md ├── codegen.yml ├── components └── Layout.tsx ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.js ├── api │ ├── graphql.ts │ └── hello.ts ├── dog │ └── [name].tsx └── index.js ├── public ├── favicon.ico └── vercel.svg ├── src ├── api.ts ├── generated │ └── graphql.ts ├── graphql │ ├── dogByName.graphql │ └── dogs.graphql └── schema │ ├── dogs.json │ ├── dogs.resolver.ts │ └── dogs.ts ├── styles ├── Home.module.css └── globals.css ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/.gitignore -------------------------------------------------------------------------------- /.graphqlrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema": "http://localhost:3000/api/graphql" 3 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/README.md -------------------------------------------------------------------------------- /codegen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/codegen.yml -------------------------------------------------------------------------------- /components/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/components/Layout.tsx -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/pages/_app.js -------------------------------------------------------------------------------- /pages/api/graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/pages/api/graphql.ts -------------------------------------------------------------------------------- /pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/pages/api/hello.ts -------------------------------------------------------------------------------- /pages/dog/[name].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/pages/dog/[name].tsx -------------------------------------------------------------------------------- /pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/pages/index.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/src/api.ts -------------------------------------------------------------------------------- /src/generated/graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/src/generated/graphql.ts -------------------------------------------------------------------------------- /src/graphql/dogByName.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/src/graphql/dogByName.graphql -------------------------------------------------------------------------------- /src/graphql/dogs.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/src/graphql/dogs.graphql -------------------------------------------------------------------------------- /src/schema/dogs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/src/schema/dogs.json -------------------------------------------------------------------------------- /src/schema/dogs.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/src/schema/dogs.resolver.ts -------------------------------------------------------------------------------- /src/schema/dogs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/src/schema/dogs.ts -------------------------------------------------------------------------------- /styles/Home.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/next-gql-dogs/HEAD/yarn.lock --------------------------------------------------------------------------------