Masteryi is a submition into the 2016 Riot Games API challenge. The aim of the project was to scan all players with champion mastery level 5 in North America, Europe and Oceania. With the collected data users could see a leaderboard of the players with the highest champion mastery, as well as how they compare to players across multiple regions.
- clone repo
https://github.com/konk353535/masteryi.git
Backend
- open backend folder
cd backend - Fill
example-config.jswith your own credentials and rename toconfig.js - Install and run postgres
- Mac:
http://postgresapp.com/ - Ubuntu:
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-14-04
- Mac:
- Create required table as specified in
table_creation.txt - Install npm modules
npm install - Start server using
node server devornode server prodto launch with prod configuration (as defined in config.js) - Start scan using
node scan devornode scan prod
Frontend
- open frontend folder
cd frontend - Install ember cli
npm install -g ember-cli - Install npm modules
npm install - Install bower components
bower install - Serve ember app for dev using
ember server --proxy http://localhost:3025 - Build static ember app for prod using
ember build --prod --output-path=../backend/dist