clonalejandro / chat

A chat with nodejs and sockets with express, mysql πŸ’¬ (2018)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CHAT ONLINE [BETA] πŸ’¬

Codacy Badge

A chat with nodejs and sockets with socket.io and express, mysql..

How to install?

  • You can install manually executing: sudo npm i
    • Configure the config located in /assets/data/config.json
    • You need to execute the init sql script located in /assets/data/sql/init.sql with this command for mysql database: mysql -uroot -p1234 < /assets/sql/init.sql
  • You can install graphically executing with: chmod 755 installer && sudo ./installer
    • Configure executing: chmod 755 configure && sudo ./configure

How to run chat server?

  • You can run the server executing npm start
  • Also you can run the server executing chmod 755 start && sudo ./start

Where are logs?

When you run the server for first time the chat creates in the folder installed a new folder called "Logs".

About

A chat with nodejs and sockets with express, mysql πŸ’¬ (2018)

License:MIT License


Languages

Language:JavaScript 58.7%Language:Pug 29.6%Language:CSS 9.4%Language:Shell 2.3%