Sign inSign up

mburolla/express-api

By mburolla

Updated about 3 years ago

Image
0

181

mburolla/express-api repository overview

Overview

Simple Express API with an internal port of 5150.

Endpoints

/message

ParameterValue
MethodGET
Status200

JSON Body:

{
    "message": "Hello World"
}

/health

ParameterValue
MethodGET
Status200

JSON Body:

{
    "message": "OK"
}

/toggle

Toggles the health status of the API to HEALTHY or UNHEALTHY.

ParameterValue
MethodGET
Status200

JSON Body:

{
   "message":"Health status toggled to: HEALTHY"
}

Tag summary

Content type

Image

Digest

sha256:3b3f44a5b

Size

351.8 MB

Last updated

about 3 years ago

docker pull mburolla/express-api