目录

Build Status

Pioneer is an open-source, spec-compliant GraphQL server that’s compatible with any GraphQL schema built with GraphQLSwift/GraphQL.

Setup

.package(url: "https://github.com/d-exclaimation/pioneer", from: "1.0.0")

Quick start

import Graphiti
import Pioneer

struct Resolver { ... }

let schema = try Schema<Resolver, Void> { ... }

let server = Pioneer(
    schema: schema,
    resolver: .init()
)

try server.standaloneServer(
    port: 4000,
    host: "127.0.0.1"
)

Usage/Examples

Feedback

If you have any feedback, feel free open an issue or discuss it in the discussion tab.

Attribution

This project is heavily inspired by Apollo Server, and it would not have been possible without the work put into GraphQLSwift/GraphQL.

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号