Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 715 Bytes

File metadata and controls

20 lines (15 loc) · 715 Bytes

real-time-Private-Chat-using-Socket.io-Nodejs-mySql

Demo : https://www.useloom.com/share/bf73f5e40c3048bdbb2aca01c10eac92

*make sure ur installed npm & node check out with: npm -v & node -v

  1. mkdir socket.io & cd socket.io
  2. git clone https://github.com/Mahmoud-Italy/real-time-Private-Chat-using-Socket.io-Nodejs-mySql.git
  3. npm init
  4. npm install
  5. npm install socket.io
  6. npm install socket.io mysql ( in case u want save it in mysql DB * if u want use mongoDB or NoSQL use another package )
  7. node server.js
  8. http://localhost:4320

That it Have Fun :)

If you want run node.js at background of server and never stop use "pm2" package Don't laugh i just saved 30 min of your researching time :D