Skip to content

Instantly share code, notes, and snippets.

@CrabDude
Last active August 29, 2015 14:27
Show Gist options
  • Save CrabDude/8f19d1f5fd407ec1cd2f to your computer and use it in GitHub Desktop.
Save CrabDude/8f19d1f5fd407ec1cd2f to your computer and use it in GitHub Desktop.
A sample Node.js Bootcamp submission README

Proxy Server

This is a Proxy Server for Node.js submitted as the pre-work requirement for CodePath.

Time spent: [Write the number of hours you spend here]

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

Walkthrough Gif:

Video Walkthrough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment