Pioneer

GraphQL server for Swift

🪛 Straightforward

🌐 Universal

🕊 Subscriptions

👾 Schema agnostic

🚀 Powerful

🏅 Spec-compliant

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"
)

Attribution

Last updated on December 30, 2022