The API Component implements the API for infraboxcli and the running jobs.
infrabox run ib # Only required once
infrabox run ib/test/apiFor development purposes you may want to start the API with some dummy data. Make sure you have setup your development environment like described in our developer guide.
First start postgres and minio with some dummy data:
./ib.py services start storageThen start opa and push the policies to opa:
./ib.py services start opaNow start the API:
./ib.py services start apiThe API Server starts up on port 8080.
After you have started the API you can access the docs at http://localhost:8080/doc