Skip to content

komentify/meteor-comments-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Comments GraphQL

Add support for GraphQL to comments-ui.

import { wrapTypeDefsAndResolvers } from 'meteor/komentify:comments-graphql'
import { createApolloServer } from 'meteor/apollo'
import { makeExecutableSchema } from 'graphql-tools'

import { typeDefs, resolvers } from './app'

const schema = makeExecutableSchema(
  wrapTypeDefsAndResolvers({ typeDefs, resolvers }),
)

createApolloServer({ schema, graphiql: true })

How to install

First, install apollo for meteor and then run

meteor add komentify:comments-graphql

Releases

No releases published

Packages

No packages published