Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 600 Bytes

part1_basics_end.md

File metadata and controls

14 lines (12 loc) · 600 Bytes

Summary of the module

  • What node is
  • Installing node
  • Loading built in modules
  • Creating a simple HTTP server / HTTP request
  • Reading/Writing files
  • Working with callbacks, event emitters and streams
  • Working with arguments, environment variables and keyboard input

Challenge (30 mins)

Write a command line tool that makes a request to a web server and dumps the response to the console and writes it to a file. Allow the output path to be configured as an environment variable. Grab the filename as an argument.

Bonus: Prompt the user for the url if it is not passed as an argument.