By Alexandre (aka elbereth[zone]) Devilliers https://github.com/elbereth/dashninja-fe
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)
- You will need a running website, official at https://dashninja.pl uses nginx
For the REST API:
- PHP v5.6 with mysqli
- Phalcon v2.0.x (should work with any version)
- MySQL database with Dash Ninja Database (check dashninja-db repository)
- Dash Ninja Control script installed and running (to have a populated database)
-
Go to the root of your website for Dash monitoring (ex: cd /home/dashninja2/www/)
-
Get Dash Value from github:
-
Configure php to answer only to calls to api/index.php rewriting to end-point api/
- Todo...