https://github.com/prabhuomkar/droll-api
📜 Open Source GraphQL API for Droll
https://github.com/prabhuomkar/droll-api
api droll golang graphql graphql-go indexed phd-comics xkcd
Last synced: 3 days ago
JSON representation
📜 Open Source GraphQL API for Droll
- Host: GitHub
- URL: https://github.com/prabhuomkar/droll-api
- Owner: prabhuomkar
- License: apache-2.0
- Created: 2019-10-21T08:52:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-18T10:49:58.000Z (almost 6 years ago)
- Last Synced: 2025-04-08T19:31:55.984Z (6 months ago)
- Topics: api, droll, golang, graphql, graphql-go, indexed, phd-comics, xkcd
- Language: Go
- Homepage: https://droll-api.herokuapp.com/graphql
- Size: 46.9 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## Supported Comics
| xkcd | Indexed | PHD Comics |
|----------------------------------------|-------------|---------------------|
|  | Coming Soon |  |## 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](https://golang.org/dl/)
- Install dependencies
```bash
go get ./...
```### Running
```bash
make run
```### Testing
```bash
make test
```### Code Coverage
```bash
make cover
```## Contribute
Contributing Guide coming soon!
## Issues
Issues are managed via [GitHub Issues](https://github.com/prabhuomkar/droll-api/issues).
## License
This project is licensed under the Apache License. See the [LICENSE](LICENSE) file for details.