All Projects → prisma-labs → Graphql Yoga

prisma-labs / Graphql Yoga

Licence: mit
🧘 Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to Graphql Yoga

Grial
A Node.js framework for creating GraphQL API servers easily and without a lot of boilerplate.
Stars: ✭ 194 (-97.05%)
Mutual labels:  graphql, graphql-server, graphql-subscriptions
Apollo Server Vercel
⚫ Production-ready Node.js GraphQL server for Vercel Serverless Functions
Stars: ✭ 69 (-98.95%)
Mutual labels:  graphql, graphql-server, apollo-server
Graphql Modules
Enterprise Grade Tooling For Your GraphQL Server
Stars: ✭ 962 (-85.36%)
Mutual labels:  graphql, graphql-server, apollo-server
Morpheus Graphql
Haskell GraphQL Api, Client and Tools
Stars: ✭ 285 (-95.66%)
Mutual labels:  graphql, graphql-server, graphql-subscriptions
Graphql Cost Analysis
A Graphql query cost analyzer.
Stars: ✭ 527 (-91.98%)
Mutual labels:  graphql, graphql-server, apollo-server
Djangochannelsgraphqlws
Django Channels based WebSocket GraphQL server with Graphene-like subscriptions
Stars: ✭ 203 (-96.91%)
Mutual labels:  graphql, graphql-server, graphql-subscriptions
Graphql Api Gateway
An open-sourced example of a GraphQL API Gateway. This service queries and joins data across different back-ends into one GraphQL schema.
Stars: ✭ 57 (-99.13%)
Mutual labels:  graphql, graphql-server, apollo-server
36 Graphql Concepts
📜 36 concepts every GraphQL developer should know.
Stars: ✭ 209 (-96.82%)
Mutual labels:  graphql, graphql-server, graphql-subscriptions
now-course
Proyecto para el curso de Now.sh en Platzi
Stars: ✭ 19 (-99.71%)
Mutual labels:  graphql-server, graphql-subscriptions, apollo-server
Altair
✨⚡️ A beautiful feature-rich GraphQL Client for all platforms.
Stars: ✭ 3,827 (-41.78%)
Mutual labels:  graphql, graphql-server, graphql-subscriptions
Apollo Errors
Machine-readable custom errors for Apollostack's GraphQL server
Stars: ✭ 405 (-93.84%)
Mutual labels:  graphql, apollo-server
Framework
.NET Core Extensions and Helper NuGet packages.
Stars: ✭ 399 (-93.93%)
Mutual labels:  graphql, graphql-server
Nest Ideas Api
REST API for app ideas built in nestjs
Stars: ✭ 380 (-94.22%)
Mutual labels:  graphql, graphql-server
Parse Server
API server module for Node/Express
Stars: ✭ 19,165 (+191.57%)
Mutual labels:  graphql, graphql-server
Graphql Up
Get a ready-to-use GraphQL API for your schema
Stars: ✭ 415 (-93.69%)
Mutual labels:  graphql, graphql-server
Typegql
Create GraphQL schema with TypeScript classes.
Stars: ✭ 415 (-93.69%)
Mutual labels:  graphql, graphql-server
Apollo Resolvers
Expressive and composable resolvers for Apollostack's GraphQL server
Stars: ✭ 428 (-93.49%)
Mutual labels:  graphql, apollo-server
Create Graphql
Command-line utility to build production-ready servers with GraphQL.
Stars: ✭ 441 (-93.29%)
Mutual labels:  graphql, graphql-server
Graphql Engine
Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Stars: ✭ 24,845 (+277.99%)
Mutual labels:  graphql, graphql-server
Firestore Apollo Graphql
An example of a GraphQL setup with a Firebase Firestore backend. Uses Apollo Engine/Server 2.0 and deployed to Google App Engine.
Stars: ✭ 371 (-94.36%)
Mutual labels:  graphql, apollo-server

graphql-yoga

Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience

You can try out the alpha release today and give us feedback!.

We are working on documentation and examples for the alpha release. You can check them out https://graphql-yoga.vercel.app

Installation

npm i graphql-yoga@alpha graphql

Basic Usage

We are actively working on API for the library. This is a very simple example of how to use it:

const { createServer } = require('graphql-yoga')
const { GraphQLSchema, GraphQLObjectType, GraphQLString } = require('graphql')

const schema = new GraphQLSchema({
  query: new GraphQLObjectType({
    name: 'Query',
    fields: () => ({
      ping: {
        type: GraphQLString,
        resolve: () => 'pong',
      },
    }),
  }),
})
// Provide your schema
const server = createServer({
  schema,
  isDev: process.env.NODE_ENV !== 'production',
})
// Start the server and explore http://localhost:4000/graphql
server.start()

Overview

  • Easiest way to run a GraphQL server: Sensible defaults & includes everything you need with minimal setup (we also export a platform/env-agnostic handler so you can build your own wrappers easily).
  • Includes Subscriptions: Built-in support for GraphQL subscriptions using Server-Sent Events.
  • Compatible: Works with all GraphQL clients (Apollo, Relay...) and fits seamless in your GraphQL workflow.
  • W3C Fetch API: the core package depends on W3C Fetch API so it can run and deploy on any environment (Serverless, Workers, Deno, Node).
  • Easily Extendable: New GraphQL-Yoga support all envelop plugins.

Features

  • GraphQL spec-compliant
  • HTTP based on fastify
  • TypeScript
  • File upload
  • Realtime capabilities
  • Accepts both application/json and application/graphql content-types
  • Supports ESM
  • Runs everywhere: Can be deployed via now, up, AWS Lambda, Heroku etc.

Contributing

If this is your first time contributing to this project, please do read our Contributor Workflow Guide before you get started off.

Feel free to open issues and pull requests. We're always welcome support from the community.

Code of Conduct

Help us keep Yoga open and inclusive. Please read and follow our of Conduct as adopted from Contributor Covenant

License

GitHub license

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].