Super-basic example of how server rendering works
JavaScript HTML
Latest commit 911f9b3 Dec 13, 2015 @petehunt Update README.md
Permalink
Failed to load latest commit information.
.gitignore intiial add Dec 9, 2013
README.md Update README.md Dec 13, 2015
Timer.js intiial add Dec 9, 2013
index.html intiial add Dec 9, 2013
index.js intiial add Dec 9, 2013
package.json intiial add Dec 9, 2013
server.js intiial add Dec 9, 2013

README.md

unmaintained

Run npm install then npm start then kill it.

You can open index.html, wait a few seconds and see the app. Or you can node server.js and open http://localhost:4000/ to see the server rendered version. Note the better performance (due to simulated JS load time) and if you edit the text field the JS won't blow it away when it loads.