This project implemented a real-time chat application with socket.io.
Server:
Client:
git clone https://github.com/OneSlashNinja/ChatRoom.git
cd ChatRoom
npm install
cd Server
node app.js
Then you can access the chat room here: http://localhost:3000
- Most basic chat room. multi user may connect to the server( use ifconfig or ipconfig to find out the server ip address ) and chat and see the real-time message
-
Add simple login functionalities. User may input their nickname before entering the chat room. And user may see who is currently online at left hand side user list.
-
Message now has the prefix to indicate by who it is sent
-
Add the user-to-user chat functionalities
-
Use Redis or MongoDB as database to store the history messages so that new loged in user may see what is going on
If you like this project, please star it and let me know if you want to help or contribute. Thank you.