An open API service indexing awesome lists of open source software.

https://github.com/d-exclaimation/over-layer

A GraphQL over Websocket Stream-based Transport Layer on Akka.
https://github.com/d-exclaimation/over-layer

akka akka-actor akka-http akka-streams graphql graphql-over-websocket graphql-subscriptions graphql-ws sangria sangria-graphql sangria-subscriptions subscriptions-transport-ws websocket websockets

Last synced: 3 months ago
JSON representation

A GraphQL over Websocket Stream-based Transport Layer on Akka.

Awesome Lists containing this project

README

        


logo


OverLayer

A GraphQL over Websocket Stream-based Transport Layer on Akka.

## Setup

**Latest Version**: `1.0.3`

```sbt
"io.github.d-exclaimation" %% "over-layer" % latestVersion
```

## GraphQL Over Websockets

In the GraphQL world, we have the concept of a "subscription" which is a request from the client to subscribe a stream
of data that is sent from the server. This is usually done using websocket with a additional subprotocol.

This package is a websocket transport layer for managing, encoding, and
decoding [Sangria](https://github.com/sangria-graphql/sangria-akka-streams) stream based operations into the proper
sub-protocol format using Akka Actors.

## Usage/Examples

- [Documentation](https://overlayer.netlify.app/)
- [Getting Started](https://overlayer.netlify.app/docs/intro)

### Protocols

- [subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md)
- [graphql-ws](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md)

### Feedback

If you have any feedback, feel free to reach out through the issues tab or through my
Twitter [@d_exclaimation](https://twitter.com/d_exclaimation).