I am familiar with Java web containers, where web applications are deployed as war
files.
I am confused how to deploy CSS, JS, HTML, images (and so on) in Node.js. How does one do this?
I have very limited knowledge of Node.js. Thanks in advance!
http://expressjs.com/
http://expressjs.com/guide.html#configuration
app.js
index.html
index.css
Directory structure:
Run your app:
node app.js
Go visit your website:
http://localhost:8888
The directory and file names are arbitrary. Everything is configurable, nothing is complicated. Nobody's trying to keep you tied to a specific directory structure or naming scheme in node, generally speaking.
Go get em, tiger.