Skip to content

diamantidis/vapor-graphql

Repository files navigation

Vapor GraphQL Server

License Swift Vapor Twitter: @diamantidis_io

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.

Requirements

  • Xcode 11.4 or greater
  • Swift 5.2 or greater

Installation

To clone the repo:

git clone https://github.com/diamantidis/vapor-graphql.git && cd vapor-graphql

Running the app

Xcode

To run the server from Xcode:

vapor-beta xcode

And then hit, Command(⌘) + R.

Terminal

To run the server from Terminal:

vapor-beta build && vapor-beta run

Author

I'm Ioannis Diamantidis and you can find me on:

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

About

A simple GraphQL server in Swift using Vapor 4.0

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published