zeehjr / graphql-server-nexus

GraphQL server using graphql-yoga and nexus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQL with Nexus

It was developed just to test Nexus lib.

I'm using graphql-yoga for the server, nexus to define the schema.

I made an auto-importer for all files ending with .gql.js to make it easier to scale, because I can separate everything in components.

Using

Just run yarn and then yarn start

Adding components

Components should be placed inside components folder

Adding schema

Just create files ending with .gql.js, preferably inside components folder and you will see it working

About

GraphQL server using graphql-yoga and nexus

License:MIT License


Languages

Language:JavaScript 57.1%Language:TypeScript 42.9%