Linux Fundamentals - Working with web Services

¿How to start a simple HTTP server using “npm”. Submit the command that starts the web server on port 8080 (use the short argument to specify the port number)?

@Perse73

http-server [path] [options]

You just install it via npm.

You can specify the port via the argument.

I think that question is pretty misleading TBH. The hint doesn’t help either.

But @nxmxss is spot on.

This question was poorly worded. Try this website. it helped me. https://gist.github.com/willurd/5720255

http-server