graphql

gklijs 2019-05-17T08:09:51.144700Z

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.

🦜 1
bartuka 2019-05-17T11:31:31.000100Z

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

Jacob Haag 2019-05-17T18:14:45.001900Z

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

osi 2019-05-17T18:28:11.002Z

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

Jacob Haag 2019-05-17T18:40:49.002200Z

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

gklijs 2019-05-17T21:23:28.002500Z

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