Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
at main 224 B view raw
1const { createYoga } = require('graphql-yoga'); 2const { createServer } = require('http'); 3const { schema } = require('./schema'); 4 5const yoga = createYoga({ schema }); 6const server = createServer(yoga); 7server.listen(3004);