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

graphql.js

84
85
+ 1
0
Prisma

1K
925
+ 1
54
Add tool

graphql.js vs Prisma: What are the differences?

What is graphql.js? A Simple and Isomorphic GraphQL Client for JavaScript. Lightest GraphQL client with intelligent features. You can download graphql.js directly, or you can use Bower or NPM.

What is 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.js and Prisma can be primarily classified as "Query Languages" tools.

Some of the features offered by graphql.js are:

  • No dependencies, plain vanilla JavaScript.
  • Plug & Play.
  • Isomorphic.

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

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

graphql.js and Prisma are both open source tools. Prisma with 14.9K GitHub stars and 872 forks on GitHub appears to be more popular than graphql.js with 1.96K GitHub stars and 62 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of graphql.js
Pros of Prisma
    Be the first to leave a pro
    • 12
      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
    • 2
      Robust migrations system

    Sign up to add or upvote prosMake informed product decisions

    Cons of graphql.js
    Cons of Prisma
      Be the first to leave a con
      • 2
        Doesn't support downward/back migrations
      • 1
        Doesn't support JSONB
      • 1
        Do not support JSONB
      • 1
        Mutation of JSON is really confusing
      • 1
        Do not support JSONB

      Sign up to add or upvote consMake informed product decisions

      What is graphql.js?

      Lightest GraphQL client with intelligent features. You can download graphql.js directly, or you can use Bower or NPM.

      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.js?
      What companies use Prisma?
      See which teams inside your own company are using graphql.js 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.js?
      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.js 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.
      Cube
      Cube: the universal semantic layer that makes it easy to connect BI silos, embed analytics, and power your data apps and AI with context.
      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.
      SQL
      SQL is designed for managing data held in a relational database management system (RDBMS), or for stream processing in a relational data stream management system (RDSMS).
      Oracle PL/SQL
      It is a powerful, yet straightforward database programming language. It is easy to both write and read, and comes packed with lots of out-of-the-box optimizations and security features.
      See all alternatives