Quick HTTP Server Using NPM Module
If you ever need to serve your current directory via http for some reason, here's an NPM module solution
1~$ yarn global add serve
And run this (it's automatically added to ~/.bashrc or equivalent on your shell):
1export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
and run
1~$ serve
or
1~$ serve <the_folder_name>
Then access http://localhost:3000 (but depending on what's shown on screen)
More details in https://www.npmjs.com/package/serve