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

graphql.js

84
85
+ 1
0
Prisma

1.2K
966
+ 1
55
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.

Manage your open source components, licenses, and vulnerabilities
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
      Robust migrations system
    • 2
      Supports multible RDBMSs
    • 1
      CRUD

    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?
      Manage your open source components, licenses, and vulnerabilities
      Learn 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.
      JavaScript
      JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      See all alternatives