A simple chat application with hapi and socket.io
- Get all the libraries
$ npm install
- Run the ChatApp
# node app.js
Open as many browsers you want with this url: http://localhost:3000
- Start Chatting
- ChatApp uses webpack (http://webpack.github.io) as the module builder. To use webpack:
$ npm install webpack -g
- Start webpack
webpack <entry> <output>
$ webpack ./views/scripts/main.js ./dist/bundle.js --progress --colors --watch
--watch
=> Watches all dependencies and recompile on change.
- Run the ChatApp
$ node app.js
Only after you made changes at the app.js, you have to restart the server