Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 447 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 447 Bytes

graphql-ruby-bare-min

  1. have docker-compose installed.
  2. may not work on windows docker-compose (didn't test)
  3. this is a sample repo of graphql-ruby + apollo + graphql-code-generator
  4. run docker-compose up
  5. 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 })