Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/galnir/giphy-graphql

A GraphQL wrapper for the Giphy API 🚀
https://github.com/galnir/giphy-graphql

apollo apollo-server giphy giphy-api graphql graphql-js javascript

Last synced: 27 days ago
JSON representation

A GraphQL wrapper for the Giphy API 🚀

Awesome Lists containing this project

README

        

# ⭐️ Giphy-GraphQL ⭐️

A GraphQL wrapper around [Giphy's API](https://developers.giphy.com/docs/).

# Usage

In the project's root directory, make a file called `.env` and make it look like this:

```
GIPHY_KEY=InsertYourGiphyKeyHere
```

Get a Giphy API key [here](https://developers.giphy.com/dashboard/?create=true).

Then install the dependencies:
`npm install`

After you have completed the above steps you can start the server with: `npm start`

### Or use Docker:

```
docker build -t giphyQL .
docker run --name giphyQL -p 4000:4000 -d giphyQL
```

Then open http://localhost:4000/ in your browser and you should be able to interact with the GraphQL playground like this:
![](https://media.giphy.com/media/KEYDFVLmDv0zknOm4B/source.gif)

# Contributing

The goal of this project is to fully cover the Giphy API with GraphQL. If you are interested in learning more about GraphQL and what it can do, please consider contributing! Just fork this repo, write some code and create a pull request :)