Vanilla JS frontend + PHP backend scaffold.
- Copy
.env.exampleto.envand adjust values. - For Docker, use
docker/docker-compose.yml. - Optional environment presets live in
env/. - Run backend quickly:
composer serveornpm run serve:php.
- Core module lives in
orchestration/withcmd/,internal/,pkg/, andapi/. - Root config files used by orchestrator:
env/.envenv/orchestrator.yamlenv/services.yamlenv/secrets.yaml
- Root Docker files used by orchestrator:
docker/docker-compose.ymldocker/Dockerfile.orchestratordocker/config/daemon.json
npm run orch:buildnpm run orch:run- In a second terminal:
npm run orch:worker
npm run orch:start- This starts both:
- Backend:
http://127.0.0.1:8000 - Frontend:
http://127.0.0.1:3000
- Backend:
- Stop both with
Ctrl+C. orch:startnow also bootstraps setup first:- creates missing
.env/docker/.envfrom example files - attempts
docker compose up -d db redis natswhen Docker is available - installs Composer/NPM deps when not yet installed (best effort)
- creates missing
npm run orch:stage:up- Check health:
curl http://localhost:9090/health - Check metrics:
curl http://localhost:9090/metrics - Stop:
npm run orch:stage:down