ui-config-service
v1.0.1
Published
A simple nav service implementation as required by the AppHub
Downloads
2
Readme
ui-config-service
A simple implementation of a nav service.
Usage
After cloning this repo, install runtime dependencies:
$ npm install
To start:
$ npm start
Details
This service exposes two routes: /
and /nav/<app id>
. The root route returns the entire config object for a hub instance, for example:
Your Hub configuration service should return some JSON response such as this below:
Start with your Main AppHub name, it appears at the top left corner of the view port.
the apps property holds information regarding to all the micro apps that you intend to bundle with your main App.
Calling /
, this service return the configuration JSON needed by AppHub.
Authorization
The UI Config Service should properly authorize against any bearer token passed in the request. If a user doesn't have access to a microapp, that microapp shouldn't appear in the "apps" array.
Other Questions
Do you still have questions? If so, post them on http://stackoverflow.apps.ge.com/ tagged with apphub or app-hub. Our team checks there every so often.