Nms-api-start-services

From I Will Fear No Evil
Revision as of 08:10, 7 June 2023 by Chubbard (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API control

Currently there is no systemd, so all daemons are actually running via the PHP server command directly.

cd /opt/nmsApi/
php -S 0.0.0.0:8002 -t public &

Nothing has been done as far as headers or CORS at this time. This simply starts the API system

Todo

  1. Build systemd for daemons.
    1. Use require Apache or Nginx to be active so they can pull via API calls
  2. Build Apache2 configuration for API
  3. Build Nginx configuration for API
  • Avoid using Apache or Nginx auth tools, as we want a fix for issues to be within the code, not the webserver