1.0.4 • Published 5 years ago
@truelogic/microservice v1.0.4
Microservice
This package allow you to start a microservice with all the dependencies and basic behavior.
This will startup ExpressJS server. Add default headers. Add default error handling. Add support for enrichment endpoint definitions with JOI and create swagger/openApi automatically. Add support for standardized logs. Add support for default signaling handling for dockerize the microservice including log level changing, /health endpoint and basic url path with versioning.
Environment variables
PORT (default 80) LOG_LEVEL (default 1) RUNNING_IN_DEV_MODE (default )