Contains utilities such as Custom Errors, Keycloak Wrapper etc which are shared by various projects at Apconic.
-
CustomErrors
Extended Error classes which contains http error code and error message, which are sent to client when API request encounters an error.
Also contains an errorHandler to handle CustomErrors as well as general errorsFuture release: Internationalized error message.
More info -
Home server authenticator
An injectable (refer: InversifyJS) Authenticator class to be used for authentication on API requests. Also contains a Mock Authenticator which can be used during development.
More info -
Simple Express Decorators
Very simple implementation of express decorators. Depends on inversify and Keycloak Authenticator (Module 2).
More info