Chat web app using web sockets (socket.io) on node.js
Download the project and install dependencies:
$ git clone https://github.com/joaopatrocinio/websocket-chat-test.git
$ cd websocket-chat-test
$ npm installCreate a .env file containing the following lines:
DB_HOST=example.com
DB_USER=username
DB_PASS=passowrd
DB_NAME=database
Run the server using:
$ node app.jsThe server will start on localhost:3000, to stop enter Ctrl-C.