Real-time group chat application with anonymous mode, built with Node.js, Socket.io and MySQL.

Prerequisites
- Node.js v14+
- MySQL Server
Quick start
- Install dependencies
npm install-
Configure your database in
.env(set DB_PASSWORD) -
Create the database and tables
npm run setup-db- Start the server
npm run devOpen http://localhost:3000 in your browser.
Notes
- This project stores messages in MySQL. The
setup-database.jsscript will create thechat_appdatabase and required tables. - The UI is a minimal iPhone-style chat implemented in
public/index.html.
Troubleshooting
- If you see
ECONNREFUSEDwhen runningsetup-db, ensure MySQL is running and your.envcredentials are correct. - If
port 3000is in use, changePORTin.env.