git404hub

what is hapi-graphql fr?

skevy/hapi-graphql — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2015-09-17

JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

tl;dr

A Hapi plugin that adds a GraphQL API endpoint to your Hapi web server, letting clients query exactly the data they need.

vibe map

mindmap
  root((repo))
    What it does
      Adds GraphQL endpoint
      Bridges Hapi and GraphQL
      Handles HTTP machinery
    Tech stack
      JavaScript
      Hapi framework
      GraphQL
    Use cases
      Mobile API backend
      Single request data fetch
      Replace REST endpoints
    Audience
      Backend developers
      Hapi framework users
    Setup
      Register plugin
      Provide schema
      Configure endpoint path

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Add a GraphQL API to an existing Hapi server without switching frameworks.

VIBE 2

Let a mobile app fetch only the specific fields it needs to save bandwidth.

VIBE 3

Let a frontend team combine multiple related data requests into one query.

VIBE 4

Customize the schema or config per-request using a function instead of static options.

what's the stack?

JavaScriptHapiGraphQL

how it stacks up fr

skevy/hapi-graphqla15n/a15na15n/checkout-validation
LanguageJavaScriptJavaScriptJavaScript
Last pushed2015-09-172019-04-072014-09-04
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 30min

Requires writing a GraphQL schema before the endpoint is useful.

prompts (copy fr)

prompt 1
Show me how to register this plugin on a Hapi server and expose a /graphql endpoint.
prompt 2
Help me write a GraphQL schema to use with this Hapi plugin.
prompt 3
Write a function-based config for this plugin that varies the schema per incoming request.
prompt 4
Compare this plugin to the Express GraphQL equivalent it's ported from and explain the setup differences.

Frequently asked questions

what is hapi-graphql fr?

A Hapi plugin that adds a GraphQL API endpoint to your Hapi web server, letting clients query exactly the data they need.

What language is hapi-graphql written in?

Mainly JavaScript. The stack also includes JavaScript, Hapi, GraphQL.

Is hapi-graphql actively maintained?

Dormant — no commits in 2+ years (last push 2015-09-17).

How hard is hapi-graphql to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is hapi-graphql for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.