Code Monkey home page Code Monkey logo

rasperdinger's Introduction

heimerdinger

heimerdinger is a small application that collects, persists, and visualizes data accessed through the League of Legends API using d3.js.

Install

You will need at least node.js including npm, and a running postgreSQL instance. You can download postgreSQL here. Create a postgreSQL instance at localhost, using the standard port 5433. You will need the database schema. You can download it using this link.

Clone this repository and go into its local directory. Heimerdinger will make use of your API KEY key to access the riot API. We recommend using a bash like the OSX Terminal (if you are using Windows, we recommend the git bash). Add your API KEY to your .bash_profile using the following command:

  export API_KEY=<<YOUR_API_KEY>>

Run the following commands:

  npm install -g grunt-cli
  npm install -g bower
  npm install pg
  npm install basic-logger
  npm install
  bower install

Note taht if you are behind a corporate proxy, you need to configure this in bowers .bowerrc-file.

After that, you should be able to start the server using the following command, which starts the backend server:

node src/server/server.js

If it is up and running, you can start the client, which connects to the backend and retrieves data through it:

grunt serve

The client starts your browser and shows the data. The experience is best using Google Chrome. Especially the Internet Explorer does not work properly with SVG.

See it in action

We recorded a little video to show you the core features. Have fun watching! :)

Further Information

We are using Grunt to run tasks like grunt-watch, grunt-connect, grunt-wiredep. Furthermore we make use of Bower to keep the App clean from imported libraries.

CSS and page styling stuff is done using Bootstrap.

Our backend is a simple Node Connect server using http.

Visualizations are done with the really great library D3.

We had tons of fun creating this project, I hope you enjoy it aswell! :)

rasperdinger's People

Contributors

kevinnoll avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.