If you are working more in the frontend and client-side Web applications, the problem with the local server is not foreign to you. Indeed, it is common to have to set up a server in localhost just so that the application works correctly (content security policy, I'm watching you). No need to tell you that it is not highly recommended to bypass these limitations that you impose on the browser unless you know what you are doing.
Another reason not to want to install the entire Apache PHP MySQL Toolkit is that we do not need it, when talking about a frontend application, no need for PHP or database.
Today I looked into the matter and tried to find an easy solution to set up and that is not going to take you much of your precious time. After seeing that under Linux, just navigate with the Terminal and type a command in one line:
I embarked on the quest for an alternative for our friend Windows. And good news, I found what I was looking for.
Cesanta Mongoose (NB: nothing to do with Automattic Mongoose) is an application that allows you to quickly and easily launch an HTTP server in localhost for your tests, once the application is downloaded, you only have to copy it to the folder of your Web application, a page will automatically open with the local address of your computer and your Web application is LIVE.
Please download the binary Mongoose binary version.
Icing on the cake, Mongoose also exists with a version of PHP runtime engine if your tests require the latter. I doubt, however, that the latter is very complete;).
Besides these small advantages, the application offers a mini Panel of configuration, useful if you want to add custom headers for example:
This is for this application, hoping that it will be useful to you, Merry coding!
The cookie settings on this site are set to "accept cookies" to provide you with the best browsing experience possible. If you continue to use this site without changing your cookie settings or if you click "accept" below, you consent to this.