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".
- 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!"