Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-exclaimation/pioneer
GraphQL for Swift.
https://github.com/d-exclaimation/pioneer
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
Last synced: 4 days ago
JSON representation
GraphQL for Swift.
- Host: GitHub
- URL: https://github.com/d-exclaimation/pioneer
- Owner: d-exclaimation
- License: apache-2.0
- Created: 2021-11-27T17:45:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T21:49:09.000Z (about 1 year ago)
- Last Synced: 2024-10-31T19:51:29.665Z (11 days ago)
- 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
- Language: Swift
- Homepage: https://pioneer.dexclaimation.com
- Size: 5.6 MB
- Stars: 39
- Watchers: 4
- Forks: 8
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fd-exclaimation%2Fpioneer%2Fbadge%3Ftype%3Dswift-versions&style=flat-square)](https://swiftpackageindex.com/d-exclaimation/pioneer)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fd-exclaimation%2Fpioneer%2Fbadge%3Ftype%3Dplatforms&style=flat-square)](https://swiftpackageindex.com/d-exclaimation/pioneer)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fd-exclaimation%2Fpioneer%2Fbadge%3Fref%3Dmain&style=flat-square)](https://actions-badge.atrox.dev/d-exclaimation/pioneer/goto?ref=main)Pioneer is an open-source, [spec-compliant](https://github.com/graphql/graphql-http#servers) GraphQL server that's compatible with any GraphQL schema built with [GraphQLSwift/GraphQL](https://github.com/GraphQLSwift/GraphQL).
## Setup
```swift
.package(url: "https://github.com/d-exclaimation/pioneer", from: "1.0.0")
```### Quick start
```swift
import Graphiti
import Pioneerstruct Resolver { ... }
let schema = try Schema { ... }
let server = Pioneer(
schema: schema,
resolver: .init()
)try server.standaloneServer(
port: 4000,
host: "127.0.0.1"
)
```## Usage/Examples
- [Documentation](https://pioneer.dexclaimation.com/docs)
- [Getting started](https://pioneer.dexclaimation.com/docs/getting-started)
- [API References](https://swiftpackageindex.com/d-exclaimation/pioneer/documentation)
- [Example](https://github.com/d-exclaimation/pioneer-example)## 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](https://github.com/apollographql/apollo-server), and it would not have been possible without the work put into [GraphQLSwift/GraphQL](https://github.com/GraphQLSwift/GraphQL).