/dashninja-fe

Dash Ninja Front-End (Public Rest API+HTML+JS)

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

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...