Simple "Hello World" API.
On accessing /hello
route, API returns message "Welcome to the NodeJS Master Class!" in JSON format.
API runs on both http
and https
servers. Appropriate environment can be set by supplying environment name to NODE_ENV global variable on command line while running the app.