Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

taycaldwell/item-sets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ItemSets.net

'ItemSets.net' is a web app that generates item sets based on high elo player item builds from Featured Games. The app generates item sets by analyzing build orders and categorizing items into 5 item set blocks: 'Starting Items', 'Offensive Items', 'Defensive Items', 'Final Build', and 'Consumables'.

The app allows you to search item sets by queue (Ranked Solo, ARAM), ranked tier (Challenger, Master, Diamond), and even champion!

The web app currently only provides item sets from matches in the NA region. More regions to be added very soon!

There is even a Summoner Search feature coming soon, allowing you to generate item sets based on your own match history!

Demo

A demo for this project is no longer available.

Tech

"ItemSets.net" was developed with the following tech stack (MEAN):

  • Digital Ocean - SSD Cloud Server/Hosting
  • MongoDB - Open-source document/NoSQL database
  • Mongoose - MongoDB object modeling for Node.js
  • Node.js - Runtime environment for server-side and networking Javascript applications
  • Express.js - Node.js web application server framework
  • AngularJS - JavaScript MVW Framework
  • Bootstrap - Front-end framework for modern web apps
  • jQuery - Cross-platform Javascript library
  • Riot Games API - League of Legends game data

Setup

Clone the repo and cd in.

cd ItemSets.net

To run the project locally, you will need to install the following dependencies:

MongoDB, Node.js/npm, Express.js

If you are using Ubuntu, before you install anything run:

sudo apt-get update

MongoDB

Install
OSX:
sudo brew install mongodb
Ubuntu:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get install -y mongodb-org
Run

If it isn't already running, start mongodb.

sudo service mongod start

Node.js and npm

Install
OSX:
sudo brew install node
Ubuntu:
sudo apt-get install nodejs
sudo apt-get install npm

Express.js

Install
npm install -g express

Node Modules

In the ItemSets.net repository root directory install all the node_module dependencies by running:

OSX and Ubuntu:
npm install

Other dependencies, such as AngularJS, Bootstrap, jQuery, etc. are downloaded via a CDN, so you don't have to worry about them.

Setup API Key

Before running the server, you will need to add your own API Key to the project. In the file riot_module/riot.js, add your key to the following line:

var	key = "API-KEY-HERE";

Run Server

OSX:
node server.js
Ubuntu:
nodejs server.js

The server will be running at http://localhost:3000