GraphQL Subscription with Golang/React JS & React Apollo Client Subscription

Golang-gqlgen-Reactjs-subscription-demo

You can find step by step guide for Golang Part 1 here And React Part 2 here to understand this demo properly.

for golang graphql gqlgen package is used. for reacjs applo-client is used.

Preview

How to Run

cd golang
go get ./
go run main.go

cd reactjs
npm install
npm start

Golang graphql server will start on http://localhost:8888

React server will start on http://localhost:3000

Further help

Checkout full blog for Golang Part 1 here And React Part 2 here

GitHub

View Github