Using HTML template in Node JS

If you want to use the standard HTML templates in your Node JS app without Jade, you use path to get the location of where you are located.

Then use __dirname to get your root directory name, the one where your project resides. Then we simply append our folder locations.

Also be sure to use express.static to append folder so that you can access them. They are public.