A React-based framework for building fast websites and apps, pulling data from CMSs, Markdown and APIs through GraphQL.
redwoodjs/graphql
RedwoodJS's GraphQL package, the optional GraphQL API layer of the Redwood full-stack React framework, built on GraphQL Yoga and Envelop.
- Stars
- 17,589
- Forks
- 993
- Open issues
- 299
- Last commit
- 16 days ago
What is it?
This repository is the GraphQL portion of RedwoodJS, an opinionated full-stack JavaScript and TypeScript framework for building React web applications. A Redwood app pairs a React frontend with a custom GraphQL API, and the API uses Prisma to query the database. The GraphQL layer is optional, and the framework also covers routing, testing with Jest, logging with Pino and Storybook for UI components.
The stack for the GraphQL layer is GraphQL Yoga as the server, Envelop for plugins, and Apollo Client on the frontend. The framework is written in TypeScript, and the same types flow from the router to the database. Authentication providers such as Auth0 and CSS frameworks such as Tailwind CSS can be added with a single command.
The README also describes RedwoodSDK, a newer project from the same team that is a Vite plugin for building full-stack React apps on Cloudflare, and a Bighorn development epoch that is not yet released.
Key features
- 01Custom GraphQL API layer served by GraphQL Yoga with Envelop plugins
- 02Prisma integration for querying the database from the API
- 03Built-in testing with Jest and UI component catalog with Storybook
- 04Authentication and CSS framework setup through single CLI commands
- 05TypeScript types shared from the router through to the database
Use cases
- Building a data-driven React application backed by a custom GraphQL API
- Prototyping or hackathon projects that need a full-stack setup quickly
- Deploying a React app to serverless or container hosting with minimal changes
Quick start
- 1
Create a new RedwoodSDK project
npx create-rwsdk my-project-name - 2
Enter the project folder
cd my-project-name - 3
Start the development server
npm run dev
Things to know
- This package is the GraphQL layer of the Redwood framework and is not meant to run on its own; the README's quick start sets up RedwoodSDK, a different project.
- The README says the Bighorn epoch is not yet released, so its described features are aspirational.
Topics
FAQ
- What is graphql?
- RedwoodJS's GraphQL package, the optional GraphQL API layer of the Redwood full-stack React framework, built on GraphQL Yoga and Envelop. This repository is the GraphQL portion of RedwoodJS, an opinionated full-stack JavaScript and TypeScript framework for building React web applications. A Redwood app pairs a React frontend with a custom GraphQL API, and the API uses Prisma to query the database. The GraphQL layer is optional, and the framework also covers routing, testing with Jest, logging with Pino and Storybook for UI components.
- Is graphql free to use? What license does it have?
- graphql is open source under the MIT license. Check the license terms before using it in commercial products.
- Is graphql still maintained?
- Actively maintained. The last commit to graphql was on Oct 5, 2026.
- What can I use graphql for?
- Building a data-driven React application backed by a custom GraphQL API Prototyping or hackathon projects that need a full-stack setup quickly Deploying a React app to serverless or container hosting with minimal changes
- How do I install graphql?
- Create a new RedwoodSDK project: npx create-rwsdk my-project-name Enter the project folder: cd my-project-name Start the development server: npm run dev
- Where can I get graphql?
- The source code and installation instructions are on GitHub: https://github.com/redwoodjs/graphql
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
End-to-end typesafe APIs for TypeScript with no schemas or code generation, sharing types between server and client.
A free, MIT-licensed full-stack SaaS starter built on React, Node.js, Prisma and the Wasp framework, with auth, payments and email included.
An open-source CRM you can extend as code, with objects, views, workflows and AI agents, built on TypeScript, React and PostgreSQL.
A React framework for building admin dashboards and back-office single-page apps on top of REST or GraphQL APIs, using Material UI.
A GraphQL client for TypeScript and JavaScript with normalized caching, React hooks, and framework support for Vue, Angular and Svelte.