koa-graphql - Create a GraphQL HTTP server with Koa.

  •        36

Create a GraphQL HTTP server with Koa. NOTE: Below is a copy from express-graphql's README. In this time I implemented almost same api, but it may be changed as time goes on.

https://github.com/chentsulin/koa-graphql

Dependencies:

babel-runtime : ^6.25.0
express-graphql : ^0.6.11
http-errors : ^1.6.2
thenify : ^3.3.0

Tags
Implementation
License
Platform

   




Related Projects

graffiti - ⚠️ DEVELOPMENT DISCONTINUED - Node.js GraphQL ORM

  •    Javascript

Currently the consumption of HTTP REST APIs dominate the client-side world, GraphQL aims to change this. This transition can be time-consuming - this is where graffiti comes into the picture. We don't want to rewrite our application - no one wants that. graffiti provides an Express middleware, a Hapi plugin and a Koa middleware to convert your existing models into a GraphQL schema and exposes it over HTTP.

apollo-server - :earth_africa: GraphQL server for Express, Connect, Hapi and Koa

  •    TypeScript

Apollo Server is a community-maintained open-source GraphQL server. It works with pretty much all Node.js HTTP server frameworks, and we're happy to take PRs for more! It works with any GraphQL schema built with the graphql-js reference implementation.Apollo Server is super easy to set up. Just npm install apollo-server-<variant>, write a GraphQL schema, and then use one of the following snippets to get started. For more info, read the Apollo Server docs.

permit - An unopinionated authentication library for building Node.js APIs.

  •    Javascript

An unopinionated authentication library for building Node.js APIs. Permit makes it easy to add an authentication layer to any Node.js API. It can be used with any of the popular server frameworks (eg. Express, Koa, Hapi, Fastify) and it can be used for any type of API (eg. REST, GraphQL, etc.) due to its simple, unopinionated design.

logger - Development style logging middleware

  •    Javascript

Development style logger middleware for koa. Notice: koa-logger@2 supports koa@2; if you want to use this module with koa@1, please use koa-logger@1.

Koa - Expressive HTTP middleware framework for node.js

  •    Javascript

Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware within core, and provides an elegant suite of methods that make writing servers fast and enjoyable.


generic-session - koa session store with memory, redis or others.

  •    Javascript

Notice: koa-session support external store now, please migrate to koa-session. Generic session middleware for koa, easy use with custom stores such as redis or mongo, supports defer session getter.

route - Simple route middleware

  •    Javascript

Uber simple route middleware for koa. If you need a full-featured solution check out koa-router, a Koa clone of express-resource.

session - Simple session middleware for koa

  •    Javascript

Simple session middleware for Koa. Defaults to cookie-based sessions and supports external stores. The cookie name is controlled by the key option, which defaults to "koa:sess". All other options are passed to ctx.cookies.get() and ctx.cookies.set() allowing you to control security, domain, path, and signing among other settings.

jwt - Koa middleware for validating JSON Web Tokens

  •    Javascript

This module lets you authenticate HTTP requests using JSON Web Tokens in your Koa (node.js) applications. See this article for a good introduction.

mount - Mount other Koa applications or middleware to a given pathname

  •    Javascript

Mount other Koa applications as middleware. The path passed to mount() is stripped from the URL temporarily until the stack unwinds. This is useful for creating entire apps or middleware that will function correctly regardless of which path segment(s) they should operate on. View the ./examples directory for working examples.

koa-router - Router middleware for koa.

  •    Javascript

Create a new router. Create router.verb() methods, where verb is one of the HTTP verbs such as router.get() or router.post().

static - Static file server middleware

  •    Javascript

Koa static file serving middleware, wrapper for koa-send.

express-graphql - Create a GraphQL HTTP server with Express.

  •    Javascript

Create a GraphQL HTTP server with any HTTP web framework that supports connect styled middleware, including Connect itself, Express and Restify.Use .get or .post (or both) rather than .use to configure your route handler. If you want to show GraphiQL in the browser, set graphiql: true on your .get handler.

koala - [SEEKING MAINTAINER] An HTTP/2 and ES6 Module-ready Koa Suite

  •    Javascript

A suite of Koa utilities allowing for quicker bootstrapping, as well as a consequential guide on how to write apps using the Koa philosophy. Think of it as a KrakenJS for Koa. Koa is a bare minimal framework, focusing on unopinionated core HTTP utilities. However, this is not sufficient for most apps as a lot is not supported out of the box. Including a bunch of dependencies in every new app you create quickly becomes annoying.