Pioneer
GraphQL server for Swift🪛 Straightforward setup
🌐 Universal compability
🕊 Subscriptions capable
👾 GraphQL schema agnostic
🚀 Wide range of features
🏅 GraphQL spec-compliant
🪛 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"
)
- Documentation (opens in a new tab)
- Getting started (opens in a new tab)
- API References (opens in a new tab)
- GraphQL over HTTP audit report (opens in a new tab)
- Example (opens in a new tab)
Attribution
- This project is heavily inspired by Apollo Server (opens in a new tab), and it would not have been possible without the work put into GraphQLSwift/GraphQL (opens in a new tab).
- Website is heavily inspired by Vercel (opens in a new tab)'s SWR (opens in a new tab) site.
Last updated on December 30, 2022