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

0.0.2 • Public • Published

jenova

Battery-included GraphQL Server in TypeScript

Jenova is built on top of GraphQL Helix and Envelop. The goal is to provde an easy to easy, battery-included GraphQL server for TypeScript.

Install

npm i jenova-graphql

Usage

import { JenovaServer } from "jenova-graphql";
import { makeExecutableSchema } from "@graphql-tools/schema";

export const schema = makeExecutableSchema({
  typeDefs: /* GraphQL */ `
    type Query {
      hello: String!
    }
  `,
  resolvers: {
    Query: {
      hello: () => 'World',
    },
  },
});

new JenovaServer({ schema }).listen(5000);

Readme

Keywords

none

Package Sidebar

Install

npm i jenova-graphql

Weekly Downloads

6

Version

0.0.2

License

none

Unpacked Size

4.24 kB

Total Files

6

Last publish

Collaborators

  • zaiste