ui-config-service

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i ui-config-service

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

61 kB

Total Files

20

Last publish

Collaborators

  • jonniespratley