The simplest possible HTTP server for your localhost

Install python (preferrably v3).

then execute this in the terminal:

# python2
python -m SimpleHTTPServer 8080

#python3
python -m http.server