jokio-graphql
TypeScript icon, indicating that this package has built-in type declarations

0.5.5 • Public • Published

GraphQL Server

Build Status npm version engine: jokio

High level package built on top of graphql-yoga, to create graphql server with websocket support easily.

Features:

  • All graphql-yoga features
  • Authentication support
  • Apollo Engine support
  • Pre-defined scalar types: Date, Time, DateTime, JSON
  • Pre-defined Graph for getting server stats
  • Remote Schema stitching
  • Local Schema stitching
  • Rest apis integration
  • Dotenv support (for development environment)
  • Web sockets improved support

Example:

import { run } from 'jokio'
import { graphql, LocalSchema } from 'jokio-graphql';
 
const schema: LocalSchema = {
  typeDefs: `
    extend type Query {
      hello: String
    }
  `,
  resolvers: {
    Query: {
      hello: () => 'world'
    }
  }
}
 
run(
  graphql({ localSchemas: [schema] })
)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.510latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.510
0.5.40
0.5.30
0.5.20
0.5.11
0.5.00
0.4.00
0.3.100
0.3.90
0.3.80
0.3.70
0.3.50
0.3.40
0.3.30
0.3.20
0.3.10
0.3.00
0.2.60
0.2.50
0.2.40
0.2.20
0.2.10
0.2.00

Package Sidebar

Install

npm i jokio-graphql

Weekly Downloads

11

Version

0.5.5

License

MIT

Unpacked Size

278 kB

Total Files

75

Last publish

Collaborators

  • ezeki