A simple web-based chat application where users can create or join public and private chat rooms to communicate in real-time.
- User authentication (Sign up / Log in)
- Browse and join all available chat rooms
- Create new chat rooms (public or password-protected private rooms)
- Real-time messaging in chat rooms
- Node.js
- npm (included with Node.js)
- XAMPP + phpMyAdmin (or any MySQL server)
- Open phpMyAdmin
- Create a new database called
chathub - Open the
schema.sqlfile included in this repository - Run the SQL queries to create the necessary tables
In the terminal, inside the project folder, run the following commands:
node server.js