Get Advice Icon

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

GraphQL
GraphQL

4.6K
4K
+ 1
253
hapi
hapi

284
208
+ 1
79
Add tool

GraphQL vs hapi: What are the differences?

Developers describe GraphQL as "A data query language and runtime". 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. On the other hand, hapi is detailed as "Server Framework for Node.js". hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.

GraphQL and hapi are primarily classified as "Query Languages" and "Microframeworks (Backend)" tools respectively.

"Schemas defined by the requests made by the user" is the primary reason why developers consider GraphQL over the competitors, whereas "Makes me Hapi making REST APIs" was stated as the key factor in picking hapi.

GraphQL and hapi are both open source tools. It seems that GraphQL with 11.7K GitHub stars and 752 forks on GitHub has more adoption than hapi with 11.2K GitHub stars and 1.16K GitHub forks.

According to the StackShare community, GraphQL has a broader approval, being mentioned in 541 company stacks & 716 developers stacks; compared to hapi, which is listed in 54 company stacks and 33 developer stacks.

What is 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.

What is hapi?

hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.
Get Advice Icon

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

Why do developers choose GraphQL?
Why do developers choose hapi?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    Jobs that mention GraphQL and hapi as a desired skillset
    What companies use GraphQL?
    What companies use hapi?

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

    What tools integrate with GraphQL?
    What tools integrate with hapi?

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

    What are some alternatives to GraphQL and hapi?
    gRPC
    gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking...
    Falcor
    Falcor lets you represent all your remote data sources as a single domain model via a virtual JSON graph. You code the same way no matter where the data is, whether in memory on the client or over the network on the server.
    React
    Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
    graphql.js
    Lightest GraphQL client with intelligent features. You can download graphql.js directly, or you can use Bower or NPM.
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    See all alternatives
    Decisions about GraphQL and hapi
    No stack decisions found
    Interest over time
    Reviews of GraphQL and hapi
    No reviews found
    How developers use GraphQL and hapi
    Avatar of jasonmjohnson
    jasonmjohnson uses GraphQLGraphQL

    GraphQL will be used as the public API for the data persistence layer. It communicates nicely with all other languages and can provide API responses in the format specified in the request.

    Avatar of Nick De Cooman
    Nick De Cooman uses GraphQLGraphQL

    Applied GraphQL in a side-project I'm currently working on. Using the Apollo GraphQL implementation for both server-side and React client.

    Avatar of Thibault Maekelbergh
    Thibault Maekelbergh uses hapihapi

    Serves static content. Was added to make it more easy to transition to serverside view templating and API.

    Avatar of Hevelop
    Hevelop uses GraphQLGraphQL

    From Magento 2.3 GraphQL is provider by a core implementation, this is used to implement PWA frontend.

    Avatar of Told
    Told uses GraphQLGraphQL

    We use GraphQL as our transport standard for all API calls.

    Avatar of Ian Kelly
    Ian Kelly uses hapihapi

    Web framework for building RESTful APIs in Javascript.

    Avatar of Michael Manges
    Michael Manges uses GraphQLGraphQL

    Connecting my Gatsby site to GraphCMS.

    Avatar of Dave Woolfenden
    Dave Woolfenden uses hapihapi

    REST libraries usage

    How much does GraphQL cost?
    How much does hapi cost?
    Pricing unavailable
    Pricing unavailable
    News about hapi
    More news