A real-time chatroom web application built with Node.js, Express.js, and Socket.IO.
This project is a simple real-time chatroom application built with Node.js, Express.js, and Socket.IO. It is designed to provide a real-time, responsive, and seamless chat experience for users. The application includes a login system where users can create an account and log in to access the chatroom. The chatroom itself allows users to join multiple chatrooms, send and receive messages in real-time, and view a list of online users.
- User registration and login system
- Real-time messaging with Socket.IO
- Ability to join multiple chatrooms
- List of online users in each chatroom
- Responsive design for mobile and desktop
To install and run the application, follow these steps:
- Clone the repository to your local machine using the following command:
git clone https://github.com/ymw0331/real-time-chatroom-node-app.git
- Install the dependencies by running the following command in the project root directory:
npm install
-
Start the server by running the following command:
-
Open your web browser and navigate to
http://localhost:8080
to access the application.
Once you have the application running, you can join multiple chatrooms, send and receive messages in real-time, and view a list of online users in each chatroom.
- Add the ability to create and join different chat rooms.
- Implement user authentication to restrict access to the chatroom.
- Add support for sending and receiving images and other file types.
- Implement message search functionality.
- Improve the overall UI/UX design of the chatroom.
- Add support for sending emojis and other multimedia elements.
- Implement a way to view the chat history for each room.
Contributions to this project are welcome. To contribute, follow these steps:
- Fork the repository to your own Github account.
- Clone the repository to your local machine.
- Create a new branch with your changes:
git checkout -b my-feature-branch
. - Make your changes and commit them:
git commit -m "Add some feature"
. - Push your changes to your Github account:
git push -u origin my-feature-branch
. - Create a pull request for your changes.
This project was built following the instructions from Andrew Mead's Node.js course on Udemy.