Skip to content

An online live chat app embedded in HTML by Vue Component and Socket.io

License

Notifications You must be signed in to change notification settings

xiao555/chatAPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatAPP

An online live chat app embedded in HTML by Vue Component and Socket.io

Change the official Demo into Vue components. And increase the unread message reminder function.

How to use

// Start socket server
$ npm install
$ npm start

// Start socket client
$ cd chatAPP && npm install
$ npm run dev

And point your browser to http://localhost:8080.

NOTE: If you want to use this component, please don't forget to change the url in mounted function to your socket server.

Features

  • Multiple users can join a chat room by each entering a unique username on website load.
  • Users can type chat messages to the chat room.
  • A notification is sent to all users when a user joins or leaves the chatroom.
  • The number of unread messages will be shown on the button when logged user close there chat box

LICENSE

MIT

About

An online live chat app embedded in HTML by Vue Component and Socket.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published