Pure Node.js Hello World API
Please create a simple "Hello World" API. Meaning:
-
It should be a RESTful JSON API that listens on a port of your choice.
-
When someone sends an HTTP request to the route /hello, you should return a welcome message, in JSON format. This message can be anything you want.