A general framework for creating typescript applications.
A set of default options are provided to every instance of App.
--log-level <level> Set log level (choices: "debug", "info", "warn", "error", "silent", default: "debug", env: LOG_LEVEL)
--admin-enabled Enable admin API server (default: false, env: ADMIN_ENABLED)
--admin-port <port> Port for admin API (default: "9000", env: ADMIN_PORT)
--metrics-enabled Enable metrics collection (default: false, env: METRICS_ENABLED)
--metrics-port <port> Port for metrics server (default: "7300", env: METRICS_PORT)
The Hono admin api, logger, and all commander options are available as properties on App.
An overridable method on App is available, protected additionalOptions(): []Options, used to specify any additional cli options needed.
If enabled, the metrics server emits metrics under the /metrics path.
The application lifecycle follows