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.
Just run yarn
and then yarn start
Components should be placed inside components
folder
Just create files ending with .gql.js
, preferably inside components
folder and you will see it working