d-exclaimation/pioneer
GraphQL for Swift.
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.
Package Metadata
Repository: d-exclaimation/pioneer
Homepage: https://pioneer.talker.dev
Stars: 43
Forks: 10
Open issues: 11
Default branch: main
Primary language: swift
License: Apache-2.0
Topics: graphql, graphql-over-http, graphql-over-websocket, graphql-server, graphql-subscriptions, graphql-swift, graphql-ws, server-side-swift, subscriptions, subscriptions-transport-ws, swift, vapor, vapor-swift
README: README.md