npm run build-css
to build css from sassnpm start
- go to localhost:3000
npm run build
to run webpack in prod modenpm run dev
to run webpack in dev mode
gulp main-js
gulp css
gulp jade
gulp compress-img
Local server is created using Express.js and HTTP server
bin --> www
(local HTTP server setup)
build --> . (static version of website)
controllers --> error.js
(error handlers)
routes --> . (routes to index and error)
src --> css --> . (scss files)
src --> public --> . (static public files: img, js, compiled css)
src --> templates --> . (jade templates)