├── .github └── ISSUE_TEMPLATE │ ├── bug_report.yml │ └── config.yml ├── .gitignore ├── .prettierignore ├── LICENSE.md ├── README.md ├── examples ├── github-explorer │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── entry.client.tsx │ │ ├── entry.server.tsx │ │ ├── graphql │ │ │ ├── endpoint.server.ts │ │ │ ├── helpers.ts │ │ │ └── types.ts │ │ ├── root.tsx │ │ └── routes │ │ │ └── $username.tsx │ ├── codegen.yml │ ├── package.json │ ├── public │ │ └── favicon.ico │ ├── remix.config.js │ ├── tsconfig.json │ └── yarn.lock └── jokes-tutorial │ ├── .gitignore │ ├── README.md │ ├── app │ ├── components │ │ └── joke.tsx │ ├── entry.client.tsx │ ├── entry.server.tsx │ ├── graphql │ │ ├── introspection.ts │ │ ├── schema │ │ │ ├── index.ts │ │ │ ├── joke.ts │ │ │ ├── type-factory.ts │ │ │ └── user.ts │ │ └── types.ts │ ├── root.tsx │ ├── routes │ │ ├── graphql.tsx │ │ ├── index.tsx │ │ ├── jokes.tsx │ │ ├── jokes │ │ │ ├── $jokeId.tsx │ │ │ ├── index.tsx │ │ │ └── new.tsx │ │ ├── jokes[.]rss.tsx │ │ ├── login.tsx │ │ └── logout.tsx │ ├── styles │ │ ├── global-large.css │ │ ├── global-medium.css │ │ ├── global.css │ │ ├── index.css │ │ ├── jokes.css │ │ └── login.css │ └── utils │ │ ├── db.server.ts │ │ ├── error-codes.ts │ │ ├── session.server.ts │ │ └── validators.ts │ ├── codegen.yml │ ├── package.json │ ├── prisma │ ├── schema.prisma │ └── seed.ts │ ├── public │ ├── favicon.ico │ └── fonts │ │ └── baloo │ │ ├── License.txt │ │ └── baloo.woff │ ├── remix.config.js │ ├── remix.env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── index.js ├── index.server.js ├── package.json ├── src ├── action-function.ts ├── context.ts ├── derive-status-code.ts ├── graphql-request.ts ├── handle-request.ts ├── index.ts └── loader-function.ts ├── tsconfig.json └── yarn.lock /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .cache 2 | build 3 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/README.md -------------------------------------------------------------------------------- /examples/github-explorer/.env.example: -------------------------------------------------------------------------------- 1 | GITHUB_TOKEN='ghp_ABC...' 2 | -------------------------------------------------------------------------------- /examples/github-explorer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/.gitignore -------------------------------------------------------------------------------- /examples/github-explorer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/README.md -------------------------------------------------------------------------------- /examples/github-explorer/app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/app/entry.client.tsx -------------------------------------------------------------------------------- /examples/github-explorer/app/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/app/entry.server.tsx -------------------------------------------------------------------------------- /examples/github-explorer/app/graphql/endpoint.server.ts: -------------------------------------------------------------------------------- 1 | export const endpoint = "https://api.github.com/graphql"; 2 | -------------------------------------------------------------------------------- /examples/github-explorer/app/graphql/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/app/graphql/helpers.ts -------------------------------------------------------------------------------- /examples/github-explorer/app/graphql/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/app/graphql/types.ts -------------------------------------------------------------------------------- /examples/github-explorer/app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/app/root.tsx -------------------------------------------------------------------------------- /examples/github-explorer/app/routes/$username.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/app/routes/$username.tsx -------------------------------------------------------------------------------- /examples/github-explorer/codegen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/codegen.yml -------------------------------------------------------------------------------- /examples/github-explorer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/package.json -------------------------------------------------------------------------------- /examples/github-explorer/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/public/favicon.ico -------------------------------------------------------------------------------- /examples/github-explorer/remix.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/remix.config.js -------------------------------------------------------------------------------- /examples/github-explorer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/tsconfig.json -------------------------------------------------------------------------------- /examples/github-explorer/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/github-explorer/yarn.lock -------------------------------------------------------------------------------- /examples/jokes-tutorial/.gitignore: -------------------------------------------------------------------------------- 1 | app/graphql/introspection.json 2 | prisma/dev.db 3 | -------------------------------------------------------------------------------- /examples/jokes-tutorial/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/README.md -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/components/joke.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/components/joke.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/entry.client.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/entry.server.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/graphql/introspection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/graphql/introspection.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/graphql/schema/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/graphql/schema/index.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/graphql/schema/joke.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/graphql/schema/joke.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/graphql/schema/type-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/graphql/schema/type-factory.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/graphql/schema/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/graphql/schema/user.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/graphql/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/graphql/types.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/root.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/graphql.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/graphql.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/index.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/jokes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/jokes.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/jokes/$jokeId.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/jokes/$jokeId.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/jokes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/jokes/index.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/jokes/new.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/jokes/new.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/jokes[.]rss.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/jokes[.]rss.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/login.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/routes/logout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/routes/logout.tsx -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/styles/global-large.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/styles/global-large.css -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/styles/global-medium.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/styles/global-medium.css -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/styles/global.css -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/styles/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/styles/index.css -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/styles/jokes.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/styles/jokes.css -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/styles/login.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/styles/login.css -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/utils/db.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/utils/db.server.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/utils/error-codes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/utils/error-codes.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/utils/session.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/utils/session.server.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/app/utils/validators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/app/utils/validators.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/codegen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/codegen.yml -------------------------------------------------------------------------------- /examples/jokes-tutorial/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/package.json -------------------------------------------------------------------------------- /examples/jokes-tutorial/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/prisma/schema.prisma -------------------------------------------------------------------------------- /examples/jokes-tutorial/prisma/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/prisma/seed.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/public/favicon.ico -------------------------------------------------------------------------------- /examples/jokes-tutorial/public/fonts/baloo/License.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/public/fonts/baloo/License.txt -------------------------------------------------------------------------------- /examples/jokes-tutorial/public/fonts/baloo/baloo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/public/fonts/baloo/baloo.woff -------------------------------------------------------------------------------- /examples/jokes-tutorial/remix.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/remix.config.js -------------------------------------------------------------------------------- /examples/jokes-tutorial/remix.env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/remix.env.d.ts -------------------------------------------------------------------------------- /examples/jokes-tutorial/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/tsconfig.json -------------------------------------------------------------------------------- /examples/jokes-tutorial/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/examples/jokes-tutorial/yarn.lock -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/index.js -------------------------------------------------------------------------------- /index.server.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./dist/index.js"); 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/package.json -------------------------------------------------------------------------------- /src/action-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/src/action-function.ts -------------------------------------------------------------------------------- /src/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/src/context.ts -------------------------------------------------------------------------------- /src/derive-status-code.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/src/derive-status-code.ts -------------------------------------------------------------------------------- /src/graphql-request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/src/graphql-request.ts -------------------------------------------------------------------------------- /src/handle-request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/src/handle-request.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/loader-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/src/loader-function.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasheyenbrock/remix-graphql/HEAD/yarn.lock --------------------------------------------------------------------------------