This is a Proxy Server for Node.js submitted as the pre-work requirement for the Node.js Bootcamp.
Time spent: 3h
Completed:
- Required: Requests to port
8000
are echoed back with the same HTTP headers and body - Required: Requests/reponses are proxied to/from the destination server
- Required: The destination server is configurable via the
--host
,--port
or--url
arguments - Required: The destination server is configurable via the
x-destination-url
header - Required: Client requests and respones are printed to stdout
- Required: The
--logfile
argument outputs all logs to the file specified instead of stdout - Optional: The
--exec
argument proxies stdin/stdout to/from the destination program - Optional: The
--loglevel
argument sets the logging chattiness - Optional: Supports HTTPS
- Optional:
-h
argument prints CLI API