Swiftpack.co - d-exclaimation/pioneer as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by d-exclaimation.
d-exclaimation/pioneer 1.4.0
GraphQL for Swift.
⭐️ 37
🕓 26 weeks ago
macOS linux macOS iOS
.package(url: "https://github.com/d-exclaimation/pioneer.git", from: "1.4.0")

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.

GitHub

link
Stars: 37
Last commit: 26 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.4.0
26 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/d-exclaimation/pioneer/compare/1.3.1...1.4.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics