@amadeus-it-group/kassette
Version:
Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks.
22 lines (21 loc) • 1.03 kB
TypeScript
/**
* To summarize, here is how it goes:
*
* - the CLI or user calls the bootstrap function defined in [`server/`](./server/)
* - this function forwards the user configuration input to the main handler function defined in [`configuration/`](./configuration/) to get a single and full featured configuration object
* - it then spawns the proxy server instance and delegates the request handling to [`mocking/`](./mocking/), passing to it nice wrappers around the request and the response
*
* [`logger/`](./logger/) is used to provide some basic user interface to the user.
*
* [`error/`](./error/) is used to make the application more consistent and robust.
*/
/** Bootstrap of the application & server business logic */
export * from './server';
/** Core business model and main user API */
export * from './mocking';
/** User configuration management */
export * from './configuration';
/** Application output logging */
export * from './logger';
/** Error management & specific error types */
export * from './error';