8 ms·
Node.js and express.js are server side. Use them for your API. It's pretty simple to grok if the docs are read. The docs for both are pretty good. On the clien
by wcarron 9y ago
Node.js and express.js are server side. Use them for your API. It's pretty simple to grok if the docs are read. The docs for both are pretty good.
On the client side, I personally use vue.js + webpack. It works for me. With the nicely focussed supporting libraries (vuex, vue-router, vue-resource), I find it easy to write performant, maintainable code.
I've also written a few react apps. It's basically a slightly different approach to the same problem. It's a more mature community and has better testing solutions.
Either are good bets. For a build system I prefer webpack despite the apparent complexity. It's really just a way to transform node.js module into modules you can use in the browser. Gulp is an option but if going that route I'd just use npm scripts