You can create and IIS/Apache/Node...etc application root, or just reuse one that you already have. The code needs to be run within a context of an application so the JavaScript permissions behave.
Open the root of the application in a code editor such as Sublime Text or Visual Studio