No description or website provided.
Switch branches/tags
Nothing to show
Clone or download

NodeJS + ExpressJS + Webpack Starter

Please find a detailled explaination of why I chose to use which component and all the tweaks I had to do on my blog:


Node JS

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js is mainly used for backend and build chain tasks. For more information, visit (


Express is a project of the Node.js Foundation, it is a robust web framework for NodeJS. The Express framework allows building backend services with REST-APIs. For more detailed information, look here : (


Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. In this project, we use webpack to transpile and bundle the NodeJS code written in typescript. For more detailed information, look here : (


TypeScript is a free and open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language. (from Wikipedia) For more detailed information, look here : (



In order, to build the software (once per call), use

$ npm run build:prod


$ npm run build:dev

The webpack packager will do the work for you and you will find dist/index.js afterwards.


$ node dist/index.js

will run the software for you

(live) reload / watch

To watch the source files, build on demand and run software,

$ npm run watch

is made available.