/makermanager

Primary LanguageJavaScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Maker Manager Build Status License Coverage Status

Release

Find a copy of the latest build at Docker Hub.

Installation

  1. Download Composer or update composer self-update.
  2. Run php composer.phar create-project --prefer-dist cakephp/app [app_name].

If Composer is installed globally, run

composer create-project --prefer-dist cakephp/app [app_name]

You should now be able to visit the path to where you installed the app and see the setup traffic lights.

Configuration

Read and edit config/app.php and setup the 'Datasources' and any other configuration relevant for your application.

API

URL Routes

  • endpoints - All of these routes require WHMCS authentication before access
    • addonActivate - Create/Updates an addon account, gives it a fake entry until user scans a badge
    • addonCancel - "Suspends" a badge, disables AD addon account
    • clientAdd - Webhook from whmcs that creates / updates a user in the local database, and the active directory
    • clientChangePassword - Webhook, handles a password change update to AD, also handles if the account doesn't exist in AD
    • clientEdit
    • invoicePaid
    • moduleCreate
    • moduleSuspend
    • moduleTerminate
    • moduleUnsuspend