How can I install Phaser 3, an HTML5 game JS framework?

Can anybody tell my how to install a web Server for https connections? I tried installing XAMPP, but I didn’t understand it. I also tried Python’s inbuilt http server but I couldn’t access it. Please help.