bsingr / http-demo-container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP Demo Container

Environment variables

  • PORT Default listen port is 8000. The port can be changed by setting the env variable PORT to another value.
  • VERSION This can be changed for CI/CD demos and will become version in the response json.
  • APP_NAME This can be changed for demos and will be become app_name in the response json.

Running

$ node index.js
Server listening on: http://0.0.0.0:8000
$ open http://localhost:8000/foo

About


Languages

Language:JavaScript 89.2%Language:Makefile 10.8%