Alternatives to graphql.js logo

Alternatives to graphql.js

GraphQL, Cube.js, Apollo, Oracle PL/SQL, and Oracle PL/SQL are the most popular alternatives and competitors to graphql.js.
45
75
+ 1
0

What is graphql.js and what are its top alternatives?

Lightest GraphQL client with intelligent features. You can download graphql.js directly, or you can use Bower or NPM.
graphql.js is a tool in the Query Languages category of a tech stack.
graphql.js is an open source tool with 2.2K GitHub stars and 86 GitHub forks. Here’s a link to graphql.js's open source repository on GitHub

Top Alternatives to graphql.js

  • GraphQL
    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.js
    Cube.js

    Cube.js is an analytics layer for modern applications. It supplies building blocks to add analytics features into any application you create. It is designed to work with large-scale data sets and implements various optimization techniques. ...

  • Apollo
    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. ...

  • Oracle PL/SQL
    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. ...

  • Oracle PL/SQL
    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. ...

  • Prisma
    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. ...

  • JSON API
    JSON API

    It is most widely used data format for data interchange on the web. This data interchange can happen between two computers applications at different geographical locations or running within same hardware machine. ...

  • Graphene
    Graphene

    Graphene is a Python library for building GraphQL schemas/types fast and easily. ...

graphql.js alternatives & related posts

GraphQL logo

GraphQL

25.7K
21K
298
A data query language and runtime
25.7K
21K
+ 1
298
PROS OF GRAPHQL
  • 73
    Schemas defined by the requests made by the user
  • 62
    Will replace RESTful interfaces
  • 60
    The future of API's
  • 48
    The future of databases
  • 12
    Self-documenting
  • 11
    Get many resources in a single request
  • 5
    Ask for what you need, get exactly that
  • 4
    Query Language
  • 3
    Type system
  • 3
    Fetch different resources in one request
  • 3
    Evolve your API without versions
  • 2
    GraphiQL
  • 2
    Easy setup
  • 2
    Ease of client creation
  • 1
    "Open" document
  • 1
    Easy to learn
  • 1
    Better versioning
  • 1
    Standard
  • 1
    Backed by Facebook
  • 1
    1. Describe your data
  • 1
    Fast prototyping
  • 1
    Good for apps that query at build time. (SSR/Gatsby)
CONS OF GRAPHQL
  • 3
    Hard to migrate from GraphQL to another technology
  • 3
    More code to type.
  • 1
    All the pros sound like NFT pitches
  • 1
    Works just like any other API at runtime
  • 1
    Takes longer to build compared to schemaless.

related GraphQL posts

Shared insights
on
Node.jsNode.jsGraphQLGraphQLMongoDBMongoDB

I just finished the very first version of my new hobby project: #MovieGeeks. It is a minimalist online movie catalog for you to save the movies you want to see and for rating the movies you already saw. This is just the beginning as I am planning to add more features on the lines of sharing and discovery

For the #BackEnd I decided to use Node.js , GraphQL and MongoDB:

  1. Node.js has a huge community so it will always be a safe choice in terms of libraries and finding solutions to problems you may have

  2. GraphQL because I needed to improve my skills with it and because I was never comfortable with the usual REST approach. I believe GraphQL is a better option as it feels more natural to write apis, it improves the development velocity, by definition it fixes the over-fetching and under-fetching problem that is so common on REST apis, and on top of that, the community is getting bigger and bigger.

  3. MongoDB was my choice for the database as I already have a lot of experience working on it and because, despite of some bad reputation it has acquired in the last months, I still believe it is a powerful database for at least a very long list of use cases such as the one I needed for my website

See more
Nick Rockwell
SVP, Engineering at Fastly · | 44 upvotes · 1.9M views

When I joined NYT there was already broad dissatisfaction with the LAMP (Linux Apache HTTP Server MySQL PHP) Stack and the front end framework, in particular. So, I wasn't passing judgment on it. I mean, LAMP's fine, you can do good work in LAMP. It's a little dated at this point, but it's not ... I didn't want to rip it out for its own sake, but everyone else was like, "We don't like this, it's really inflexible." And I remember from being outside the company when that was called MIT FIVE when it had launched. And been observing it from the outside, and I was like, you guys took so long to do that and you did it so carefully, and yet you're not happy with your decisions. Why is that? That was more the impetus. If we're going to do this again, how are we going to do it in a way that we're gonna get a better result?

So we're moving quickly away from LAMP, I would say. So, right now, the new front end is React based and using Apollo. And we've been in a long, protracted, gradual rollout of the core experiences.

React is now talking to GraphQL as a primary API. There's a Node.js back end, to the front end, which is mainly for server-side rendering, as well.

Behind there, the main repository for the GraphQL server is a big table repository, that we call Bodega because it's a convenience store. And that reads off of a Kafka pipeline.

See more
Cube.js logo

Cube.js

67
206
28
Open Source Analytics Framework
67
206
+ 1
28
PROS OF CUBE.JS
  • 6
    API
  • 6
    Open Source
  • 6
    Visualization agnostic
  • 6
    Caching
  • 4
    Rollups orchestration
CONS OF CUBE.JS
  • 1
    No ability to update "cubes" in runtime
  • 1
    Cannot use as a lib - only HTTP

related Cube.js posts

Apollo logo

Apollo

2.1K
1.6K
18
GraphQL server for Express, Connect, Hapi, Koa and more
2.1K
1.6K
+ 1
18
PROS OF APOLLO
  • 12
    From the creators of Meteor
  • 3
    Great documentation
  • 2
    Real time if use subscription
  • 1
    Open source
CONS OF APOLLO
    Be the first to leave a con

    related Apollo posts

    Nick Rockwell
    SVP, Engineering at Fastly · | 44 upvotes · 1.9M views

    When I joined NYT there was already broad dissatisfaction with the LAMP (Linux Apache HTTP Server MySQL PHP) Stack and the front end framework, in particular. So, I wasn't passing judgment on it. I mean, LAMP's fine, you can do good work in LAMP. It's a little dated at this point, but it's not ... I didn't want to rip it out for its own sake, but everyone else was like, "We don't like this, it's really inflexible." And I remember from being outside the company when that was called MIT FIVE when it had launched. And been observing it from the outside, and I was like, you guys took so long to do that and you did it so carefully, and yet you're not happy with your decisions. Why is that? That was more the impetus. If we're going to do this again, how are we going to do it in a way that we're gonna get a better result?

    So we're moving quickly away from LAMP, I would say. So, right now, the new front end is React based and using Apollo. And we've been in a long, protracted, gradual rollout of the core experiences.

    React is now talking to GraphQL as a primary API. There's a Node.js back end, to the front end, which is mainly for server-side rendering, as well.

    Behind there, the main repository for the GraphQL server is a big table repository, that we call Bodega because it's a convenience store. And that reads off of a Kafka pipeline.

    See more
    Adam Neary

    At Airbnb we use GraphQL Unions for a "Backend-Driven UI." We have built a system where a very dynamic page is constructed based on a query that will return an array of some set of possible “sections.” These sections are responsive and define the UI completely.

    The central file that manages this would be a generated file. Since the list of possible sections is quite large (~50 sections today for Search), it also presumes we have a sane mechanism for lazy-loading components with server rendering, which is a topic for another post. Suffice it to say, we do not need to package all possible sections in a massive bundle to account for everything up front.

    Each section component defines its own query fragment, colocated with the section’s component code. This is the general idea of Backend-Driven UI at Airbnb. It’s used in a number of places, including Search, Trip Planner, Host tools, and various landing pages. We use this as our starting point, and then in the demo show how to (1) make and update to an existing section, and (2) add a new section.

    While building your product, you want to be able to explore your schema, discovering field names and testing out potential queries on live development data. We achieve that today with GraphQL Playground, the work of our friends at #Prisma. The tools come standard with Apollo Server.

    #BackendDrivenUI

    See more
    Oracle PL/SQL logo

    Oracle PL/SQL

    586
    445
    6
    It is a combination of SQL along with the procedural features of programming languages
    586
    445
    + 1
    6
    PROS OF ORACLE PL/SQL
    • 1
      Not mysql
    • 1
      Massive, continuous investment by Oracle Corp
    • 1
      Multiple ways to accomplish the same end
    • 1
      Extensible to external langiages
    • 1
      Pl/sql
    • 1
      Powerful
    CONS OF ORACLE PL/SQL
    • 1
      High commercial license cost

    related Oracle PL/SQL posts

    Oracle PL/SQL logo

    Oracle PL/SQL

    586
    445
    6
    It is a combination of SQL along with the procedural features of programming languages
    586
    445
    + 1
    6
    PROS OF ORACLE PL/SQL
    • 1
      Not mysql
    • 1
      Massive, continuous investment by Oracle Corp
    • 1
      Multiple ways to accomplish the same end
    • 1
      Extensible to external langiages
    • 1
      Pl/sql
    • 1
      Powerful
    CONS OF ORACLE PL/SQL
    • 1
      High commercial license cost

    related Oracle PL/SQL posts

    Prisma logo

    Prisma

    486
    645
    47
    Modern Database Access for TypeScript & Node.js
    486
    645
    + 1
    47
    PROS OF PRISMA
    • 10
      Type-safe database access
    • 9
      Open Source
    • 8
      Auto-generated query builder
    • 6
      Increases confidence during development
    • 5
      Supports multible database systems
    • 4
      Built specifically for Postgres and TypeScript
    • 4
      Productive application development
    • 1
      Supports multible RDBMSs
    • 0
      Robust migrations system
    CONS OF PRISMA
    • 1
      Doesn't support downward/back migrations

    related Prisma posts

    Divine Bawa
    at PayHub Ghana Limited · | 16 upvotes · 320.1K views

    I just finished a web app meant for a business that offers training programs for certain professional courses. I chose this stack to test out my skills in graphql and react. I used Node.js , GraphQL , MySQL for the #Backend utilizing Prisma as a database interface for MySQL to provide CRUD APIs and graphql-yoga as a server. For the #frontend I chose React, styled-components for styling, Next.js for routing and SSR and Apollo for data management. I really liked the outcome and I will definitely use this stack in future projects.

    See more
    Munkhtegsh Munkhbat
    Software Engineer Consultant at LoanSnap · | 9 upvotes · 151.5K views

    In my last side project, I built a web posting application that has similar features as Facebook and hosted on Heroku. The user can register an account, create posts, upload images and share with others. I took an advantage of graphql-subscriptions to handle realtime notifications in the comments section. Currently, I'm at the last stage of styling and building layouts.

    For the #Backend I used graphql-yoga, Prisma, GraphQL with PostgreSQL database. For the #FrontEnd: React, styled-components with Apollo. The app is hosted on Heroku.

    See more
    JSON API logo

    JSON API

    178
    165
    0
    One of many data formats that is often applied to REST
    178
    165
    + 1
    0
    PROS OF JSON API
      Be the first to leave a pro
      CONS OF JSON API
        Be the first to leave a con

        related JSON API posts

        Graphene logo

        Graphene

        98
        131
        0
        GraphQL framework for Python
        98
        131
        + 1
        0
        PROS OF GRAPHENE
        • 0
          Will replace RESTful interfaces
        • 0
          The future of API's
        CONS OF GRAPHENE
          Be the first to leave a con

          related Graphene posts

          Malthe Jørgensen

          We recently switched from MongoDB and the Python library MongoEngine to PostgreSQL and Django in order to:

          • Better leverage GraphQL (using the Graphene library)
          • Allow us to use the autogenerated Django admin interface
          • Allow better performance due to the way some of our pages present data
          • Give us more a mature stack in the form of Django replacing MongoEngine, which we had some issues with in the past.

          MongoDB was hosted on mlab, and we now host Postgres on Amazon RDS .

          See more
          Michael Mota
          Founder at AlterEstate · | 6 upvotes · 64.8K views

          We recently implemented GraphQL because we needed to build dynamic reports based on the user preference and configuration, this was extremely complicated with our actual RESTful API, the code started to get harder to maintain but switching to GraphQL helped us to to build beautiful reports for our clients that truly help them make data-driven decisions.

          Our goal is to implemented GraphQL in the whole platform eventually, we are using Graphene , a python library for Django .

          See more