An open API service indexing awesome lists of open source software.

https://github.com/gregorwolf/controller-api

Access XS Controller API from CAP
https://github.com/gregorwolf/controller-api

Last synced: about 13 hours ago
JSON representation

Access XS Controller API from CAP

Awesome Lists containing this project

README

          

# 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](https://github.com/gregorwolf/controller-api-mock) you have to create a file named *default-env.json* with the following content:

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

Then execute:

`npm run setup`

Followed by:

`npm start`