Need advice about which tool to choose?Ask the StackShare community!

graphql-yoga

61
129
+ 1
3
Prisma

571
707
+ 1
52
Add tool

graphql-yoga vs Prisma: What are the differences?

graphql-yoga: 🧘 Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. Easiest way to run a GraphQL server: Sensible defaults & includes everything you need with minimal setup.;Includes Subscriptions: Built-in support for GraphQL subscriptions using WebSockets.;Compatible: Works with all GraphQL clients (Apollo, Relay...) and fits seamless in your GraphQL workflow; Prisma: Prisma makes working with databases easy. Prisma is a powerful database tool used for data access, migrations and visual data management. It replaces traditional ORMs and removes friction from complicated database workflows.

graphql-yoga belongs to "GraphQL Tools" category of the tech stack, while Prisma can be primarily classified under "Query Languages".

Some of the features offered by graphql-yoga are:

  • GraphQL spec-compliant
  • File upload
  • GraphQL Subscriptions

On the other hand, Prisma provides the following key features:

  • Simplified & type-safe database access
  • Declarative migrations & data modeling
  • Powerful & visual data management

graphql-yoga and Prisma are both open source tools. Prisma with 14.9K GitHub stars and 873 forks on GitHub appears to be more popular than graphql-yoga with 4.44K GitHub stars and 292 GitHub forks.

Powersports Auction, Seistreinta, and AnkaWorld are some of the popular companies that use Prisma, whereas graphql-yoga is used by AnkaWorld, mietwise, and blank Corp.. Prisma has a broader approval, being mentioned in 14 company stacks & 14 developers stacks; compared to graphql-yoga, which is listed in 4 company stacks and 3 developer stacks.

Decisions about graphql-yoga and Prisma

Hey guys,

My backend set up is Prisma / GraphQL-Yoga at the moment, and I love it. It's so intuitive to learn and is really neat on the frontend too, however, there were a few gotchas when I was learning! Especially around understanding how it all pieces together (the stack). There isn't a great deal of information out there on exactly how to put into production my set up, which is a backend set up on a Digital Ocean droplet with Prisma/GraphQL Yoga in a Docker Container using Next & Apollo Client on the frontend somewhere else. It's such a niche subject, so I bet only a few hundred people have got a website with this stack in production. Anyway, I wrote a blog post to help those who might need help understanding it. Here it is, hope it helps!

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of graphql-yoga
Pros of Prisma
  • 3
    Easy to setup. No boilerplate code
  • 11
    Type-safe database access
  • 10
    Open Source
  • 8
    Auto-generated query builder
  • 6
    Supports multible database systems
  • 6
    Increases confidence during development
  • 4
    Built specifically for Postgres and TypeScript
  • 4
    Productive application development
  • 2
    Supports multible RDBMSs
  • 1
    Robust migrations system

Sign up to add or upvote prosMake informed product decisions

Cons of graphql-yoga
Cons of Prisma
    Be the first to leave a con
    • 1
      Doesn't support downward/back migrations

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is graphql-yoga?

    Easiest way to run a GraphQL server: Sensible defaults & includes everything you need with minimal setup.;Includes Subscriptions: Built-in support for GraphQL subscriptions using WebSockets.;Compatible: Works with all GraphQL clients (Apollo, Relay...) and fits seamless in your GraphQL workflow.

    What is Prisma?

    Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use graphql-yoga?
    What companies use Prisma?
    See which teams inside your own company are using graphql-yoga or Prisma.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with graphql-yoga?
    What tools integrate with Prisma?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to graphql-yoga and Prisma?
    GraphQL
    GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
    Apollo
    Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.
    GraphQL Nexus
    It is a declarative, code-first and strongly typed GraphQL schema construction for TypeScript & JavaScript.
    Altair GraphQL
    A beautiful feature-rich GraphQL Client IDE for all platforms. Enables you interact with any GraphQL server you are authorized to access from any platform you are on. Much like Postman for GraphQL, you can easily test and optimize your Grap
    GraphQL Voyager
    Represent any GraphQL API as an interactive graph. It's time to finally see the graph behind GraphQL.
    See all alternatives