📊 URF Stats.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
lib
public
.editorconfig
.gitignore
.jscsrc
.jshintrc
Procfile
README.md
home.png
make-webpack-config.js
package.json
riot.txt
screenshot.png
webpack-dev-server.config.js
webpack-hot-dev-server.config.js
webpack-production.config.js
webpack.config.js

README.md

Dependency Status

URF Statistics - hzoo/geturf fetches data.

Home

Table

Shows some top stats as well as a dashboard to look through.

Install

# Check out the package.json!
npm install

Config

  • Create a json file at lib/config.json to connect to your database (or local database)
{
    "DB_HOST": "MySQL database host url",
    "DB_USER": "MySQL database username",
    "DB_PASSWORD": "MySQL databse password",
    "DB_NAME": "MySQL database name",
    "SSL_CA": "a.pem",
    "SSL_CERT": "b.pem",
    "SSL_KEY": "c.pem"
}

Running the Dev Server

# Start the webpack-dev-server in HMR mode
# Start the server in dev mode
npm run hot-dev-server && npm run start-dev

# open this url in your browser
http://localhost:8080/

Running the Production server

# Build the client bundle (createed in `build/`)
# Start the server in production mode
npm run build && npm run start

# Open this url in your browser
http://localhost:8081/

Code

  • All application code is in app/
    • app/simple.html gets some external files.
  • Server code in lib/
    • lib/query.js has some of the SQL queries.
    • lib/server.js has socket.io code.

Stopped using (due to lack of time, knowledge, and frustration)

  • Firebase (good for initial test) -> MySQL
  • Mongodb - not enough experience -> MySQL -> Cloud SQL
  • Flux -> nothing
  • jsbin/fiddle (testing) -> a lot of react-hot-loader starter kits -> webpack/react-starter
  • Griddle and many others from http://react.rocks/tag/DataTable -> Fixed-Data-Table (fast, customizable)
  • Failed on totalHeal, trueDamageX since I used a SMALLINT.