Skip to content

A GraphQL wrapper to League of Legends Champions's endpoint

Notifications You must be signed in to change notification settings

viniciuspalma/vayne

Repository files navigation

Build Status CodeClimate

Vayne

A GraphQL wrapper to League of Legends Champions's endpoint and a changelog of champions.

How to use

# clone the repository
git clone [email protected]:viniciuspalma/vayne.git

# go to directory
cd vayne

# install dependencies
bundle install

# create your config database file
cp config/database.yml.example config/database.yml

# create your dotenv file
cp .env.example .env

# database
bin/rails db:setup

# change the RIOT_API_KEY on .env file

# populate your database with RIOT API passing as parameter the season
bundle exec rake populate:champions[7]

# and now run your server
bin/rails s

GraphQL Endpoint

To access the GraphQL API you must use the POSt /graphql endpoint

About

A GraphQL wrapper to League of Legends Champions's endpoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published