Graphtown
Easily consume GraphQL APIs for your Bridgetown website using a tidy Builder DSL on top of the Graphlient gem.
Installation
Run this command to add this plugin to your site's Gemfile:
$ bundle add graphtown -g bridgetown_plugins
Documentation coming soon…
Usage
The plugin will…
Optional configuration options
The plugin will automatically use any of the following metadata variables if they are present in your site's _data/site_metadata.yml file.
…
Testing
- Run
bundle exec rspecto run the test suite - Or run
script/cibuildto validate with Rubocop and test with rspec together.
Contributing
- Fork it (https://github.com/whitefusionhq/graphtown/fork)
- Clone the fork using
git cloneto your local development machine. - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request