https://github.com/sysgears/scala-graphql-http-context-handling-example
https://github.com/sysgears/scala-graphql-http-context-handling-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sysgears/scala-graphql-http-context-handling-example
- Owner: sysgears
- License: mit
- Created: 2019-03-26T14:18:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T15:03:20.000Z (over 7 years ago)
- Last Synced: 2025-03-15T18:14:16.101Z (over 1 year ago)
- Language: Scala
- Size: 80.1 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Best practices of processing HTTP headers and cookies in GraphQL API in Scala
[](https://travis-ci.org/serjorez/graphql-http-context-handling.svg?branch=master)
This is an example of a GraphQL server written with Play framework and Sangria that shows best practices of processing HTTP headers and cookies in GraphQL API.
## How to start
Run the application:
`sbt run`
After launch, the application will be accessible on `localhost:9000`
## Sources
https://graphql.org/
https://www.playframework.com/documentation/2.6.x/ScalaHome
https://sangria-graphql.org/learn/
https://facebook.github.io/graphql/#sec-Errors