- have docker-compose installed.
- may not work on windows docker-compose (didn't test)
- this is a sample repo of graphql-ruby + apollo + graphql-code-generator
- run docker-compose up
- then go to the server's address
cd graphql-ruby-bare-min
docker-compose up
open http://your_server_name/
# to trigger
# rails c
AppSchema.subscriptions.trigger("sub_test", {}, {results: Time.now.to_i })