webapp-lib
This is a library that provides building blocks for cs-214 webapps.
For a minimal example on how to use the library see the counter
example
Configuration
Webapp-lib recognizes the following three environment variables:
-
WEBAPPLIB_HOST
(string): Host address to listen on. -
WEBAPPLIB_PORT
(number): Host port to listen on. -
WEBAPPLIB_PUBLIC_INSTANCE
(0
or1
): Whether to hide the server's local IP.