A simple GraphQL server in Swift using Vapor 4.0. This server was built as a demonstration demo for the posts "Swift ❤️ GraphQL: How to create a GraphQL server with Vapor and an iOS app as a client", "Custom GraphQL types on Swift projects" and "Mutations on a GraphQL server built with Vapor" that I published on my personal blog. You can always refer to those posts if you want to find more information about this project.
- Xcode 11.4 or greater
- Swift 5.2 or greater
To clone the repo:
git clone https://github.com/diamantidis/vapor-graphql.git && cd vapor-graphql
To run the server from Xcode:
vapor-beta xcode
And then hit, Command(⌘) + R.
To run the server from Terminal:
vapor-beta build && vapor-beta run
I'm Ioannis Diamantidis and you can find me on:
This project is licensed under the terms of the MIT license. See the LICENSE file.