Dash Ninja Front-End (Public Rest API+HTML+JS)
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 22 commits behind elbereth:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
off
static
.gitignore
.gitmodules
404.html
LICENSE
README.md
blocks.html
budgetdetails.html
budgets.html Added support for governance proposals (0.12.1+) Feb 25, 2017
dashninja-blocks.js
dashninja-budgetdetails.js
dashninja-budgets.js
dashninja-common.js
dashninja-config.js
dashninja-governance.js
dashninja-latestversion.json
dashninja-masternodes-v11.js Fixed the license header in all files. Sep 10, 2015
dashninja-masternodes.js
dashninja-mndetails.js
dashninja-proposaldetails.js
governance.html
index.html
masternodes-v11.html
masternodes.html
mndetails.html
proposaldetails.html

README.md

Dash Ninja Front-End (dashninja-fe)

By Alexandre (aka elbereth) Devilliers

Check the running live website at https://www.dashninja.pl

This is part of what makes the Dash Ninja monitoring application. It contains:

  • Public REST API (using PHP and Phalcon framework)
  • Public web pages (using static HTML5/CSS/Javascript)

Requirement:

For the REST API:

  • PHP v5.6 with mysqli (works/tested with PHP 7.1)
  • Phalcon v2.0.x (should work with any version) up to v3.2.x
  • MySQL database with Dash Ninja Database (check dashninja-db repository)

Optional:

  • Dash Ninja Control script installed and running (to have a populated database)

Install:

  • Go to the root of your website for Dash monitoring (ex: cd /home/dashninja2/www/)
  • Get latest code from github:
git clone https://github.com/elbereth/dashninja-fe.git
  • Configure php to answer only to calls to api/index.php rewriting to end-point api/

  • Add api/cron.php script to your crontab, activate for main and/or test net, both for blocks24h and for masternode full list

Configuration:

  • Todo...