I would like to add some real-time functionality to my website with node.js and socket.io, but not have to deal with the hassle of page requests/responses. Can I get the normal folder functionality, where it serves index.html first and then loads any js/css dependencies automatically?
Thanks!
You can use Express framework. Place your files under public folder, all your styles, javascript files, other HTML files. You only need to give express an entry point, so It can give the client index.html.