Scoped modules to only do this, if you want more examples please create an issue.
Built and tested with node v8.16.2
- Install node
node -v // v8.16.2
-
Open a terminal in the root directory
-
Install modules
npm i
- Npm start: runs webpack && starts server
npm start
- webpack builds clientside: config is in webpack.config.js
- express handles requests and has express-handlebars configured app.js
- express handlebars uses the views-directory to manage views
- main.js is the client side entry point and requires handlebars templates using commonjs