Frontend

How to serve local web files over HTTP for testing

Recently I got interested in creating my own webapp. If you write a simple html file you can open it with a browser. Notice that in the browser in the little window in which you normally type a URL it says ‘file://’. This tells you that the file is not served over the HTTP protocol.