Skip to content

gregorwolf/controller-api

Repository files navigation

Access XS Controller API from CAP

Sample project to consume the XS Controller API from CAP

Run local

For local testing you have to start the mock service before this app.

To run against the local mock service controller-api-mock you have to create a file named default-env.json with the following content:

{
  "VCAP_SERVICES": {
  },
  "destinations": [
    {
      "name": "controller-config",
      "url": "http://localhost:3000"
    }
  ]
}

Then execute:

npm run setup

Followed by:

npm start

About

Access XS Controller API from CAP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published