/droll-api

📜 Open Source GraphQL API for Droll

Primary LanguageGoApache License 2.0Apache-2.0

Droll

Supported Comics

xkcd Indexed PHD Comics
xkcd Coming Soon phdcomic

Examples

XKCD

General

query {
  xkcd {
    alt
    day
    image
    link
    month
    news
    num
    safeTitle
    title
    transcript
    year
  }
}

With Limit and Offset

query {
  xkcd(limit: 10, offset: 1) {
    alt
    day
    image
    link
    month
    news
    num
    safeTitle
    title
    transcript
    year
  }
}

Getting Started

Installation and Setup

  • Download and Install Golang

  • Install dependencies

go get ./...

Running

make run

Testing

make test

Code Coverage

make cover

Contribute

Contributing Guide coming soon!

Issues

Issues are managed via GitHub Issues.

License

This project is licensed under the Apache License. See the LICENSE file for details.