Hard fork of https://github.com/mevdschee/php-crud-api/tree/v1
wget https://dl.vanderwarker.family/vxmppb/api.php.dist
The most basic setup, requires filling in the database info at the bottom of the page.
cp api.php.dist api.php && nano api.php
mysql -u root -p
CREATE USER 'vxmppb'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE vxmppb;
GRANT ALL PRIVILEGES ON vxmppb.* TO vxmppb'@'localhost';
FLUSH PRIVILEGES;
EXIT;
wget https://dl.vanderwarker.family/vxmppb/api.sql.dist
mysql -u vxmppb -p{PASSWORD} vxmppb < api.sql.dist
php -S 0.0.0.0:8080
This is useful for development. For a full setup see Apache setup or Nginx setup
Now see this page to begin tracking!