Skip to content

Ash914027/Chat_Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fun Friday Group Chat

Real-time group chat application with anonymous mode, built with Node.js, Socket.io and MySQL. Screenshot 2025-09-29 172212

Prerequisites

  • Node.js v14+
  • MySQL Server

Quick start

  1. Install dependencies
npm install
  1. Configure your database in .env (set DB_PASSWORD)

  2. Create the database and tables

npm run setup-db
  1. Start the server
npm run dev

Open http://localhost:3000 in your browser.

Notes

  • This project stores messages in MySQL. The setup-database.js script will create the chat_app database and required tables.
  • The UI is a minimal iPhone-style chat implemented in public/index.html.

Troubleshooting

  • If you see ECONNREFUSED when running setup-db, ensure MySQL is running and your .env credentials are correct.
  • If port 3000 is in use, change PORT in .env.

About

anonymous user chat application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published