1.0.4 • Published 5 years ago

@truelogic/microservice v1.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

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 )

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago