Fork me on GitHub
#graphql
<
2019-05-17
>
gklijs08:05:51

I just opensourced https://github.com/openweb-nl/open-bank-mark it's using GraphQL, consuming and producing to Kafka, using PostgreSQL for storage, and has a front-end using re-frame, is used a couple of subscriptions.

parrot 4
bartuka11:05:31

Greatt!!! I was hoping to create a bank simulation myself to study, now I can poke with your solution. Thanks!

Jacob Haag18:05:45

Hey all, I am working on a project with a graphql backend that can be connected to via websocket. I have containerized w/ docker but the websocket port seems not to be published and only the http port. Any ideas?

FROM openjdk:8-jdk-alpine

RUN mkdir -p /app
WORKDIR /app
COPY target/*-standalone.jar .
CMD java -jar atlas-next-0.9.0-standalone.jar 

EXPOSE 8888

osi18:05:11

websockets are upgraded HTTP connections, so it can all be on one port

Jacob Haag18:05:49

Ahh, so I think the issue is on the client side, I am composing my client (nginx) with my server (graphql and java). However, my it my client using nginx is only calling the server via http and not ws

gklijs21:05:28

How you run the container? And what is the hostname configured for the front-end?