Skip to content

zeehjr/graphql-server-nexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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