       resolve: resolvers.authors
     )
 
-module.exports.schema = schema
-
 app.use '/graphql', setUser, graphqlHTTP(
   schema: schema
   graphiql: true

      args: Article.querySchema
      resolve: resolvers.articles
    )
    article: object(Article.inputSchema)
    .meta(
      args: id: string()
      resolve: resolvers.article


app = module.exports = express()

relatedArticles =
  relatedArticles: array().items(object(Article.inputSchema))

schema = joiql
  query:
    articles: array().items(object(
