This is a sample GraphQL API
-
clone the project from the Github repo
-
cd into the folder
-
run
bundle installto install all dependencies -
run
rails db:create db:migrate db:seedto create, migrate and seed the database, -
run
rails sand take it for a spin. -
Make a sample call in your client (Insomnia or Postman) to
http://localhost:3000/graphqlwith the query belowallOrders { description total payments { amount } } }``` -
Enjoy.