[nodejs] New to Node - Integrating with existing project?

2014-01-23 Thread Nick Dugger
Hey there, I've recently started a project, and I need a server for it. I don;t wan to simply drag it into my xampp folder, but rather create it's own server for Node (also so I can actually USE Node in the project). My project currently looks like this: Project Folder | HTML File (this is

Re: [nodejs] New to Node - Integrating with existing project?

2014-01-23 Thread Angel Java Lopez
I guess you want to add server Node.js logic, sometimes in the future. Then, explore Express http://expressjs.com/ and put all your current files in the public declared directory Read http://expressjs.com/guide.html Short path npm install express -g express yourapp cd yourapp (copy all your