0.7.0 • Published 4 months ago

@dashdot/graphql-server v0.7.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Dashdot Graphql Server

build codecov

A high performance graphql handler using the power of JIT.

Usage

Inside your Node project directory, run the following:

npm i --save @dashdot/graphql-server

Or with Yarn:

yarn add @dashdot/graphql-server

API

import { createServer } from 'http'
import {
    GraphqlQueryStore,
    createGraphqlRequestHandler
} from '@dashdot/graphql-server'
import schema from './schema'

const { PORT, HOST } = process.env

const store = new GraphqlQueryStore(schema)

const server = createServer(
    createGraphqlRequestHandler(store)
)

server.listen(PORT, HOST, () => {
    console.log(`Server started and listening on http://${HOST}:${PORT}`)
})
0.7.0

4 months ago

0.5.3

7 months ago

0.5.2

7 months ago

0.6.0

6 months ago

0.5.1

7 months ago

0.3.0

2 years ago

0.3.2

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.2.1

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.2

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago