/http-hello-goodbye-world

minimal hello world http server

Primary LanguageJavaScript

http-hello-goodbye-world

Note this repo is archived and won't be updated, so some things might be out of date with current conventions. Keeping this around as an artifact of how much I've grown as a developer.

An http server that responds with either "hello world" or "goodbye world".

To use

  • Run node index.js from the command line
  • Navigate to localhost:8000 in your browser
  • Available paths
    • / prints "Hello World"
    • /bye prints "Goodbye World"
    • ever other URL will print "Page not found!"