Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/truongd3/private-chat-socket
Private Chat (server) with Socket.IO
https://github.com/truongd3/private-chat-socket
socket-io websocket
Last synced: about 9 hours ago
JSON representation
Private Chat (server) with Socket.IO
- Host: GitHub
- URL: https://github.com/truongd3/private-chat-socket
- Owner: truongd3
- Created: 2023-12-01T05:47:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T06:56:01.000Z (about 1 year ago)
- Last Synced: 2024-11-21T08:18:36.948Z (2 months ago)
- Topics: socket-io, websocket
- Language: Vue
- Homepage:
- Size: 2.1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Private Chat with Socket.IO by Truong Dang
### Account 1 is online & Account 2 is offline
The status of the two accounts are updated.
![1accoffline](src/img1.png)
### Account 1 is online & Account 2 is online
The status of the two accounts are updated. When account 2 is signed in, the past messages are still there.
![bothonline](src/img2.png)
Detail instructions can be found below:
- [Part I](https://socket.io/get-started/private-messaging-part-1/): initial implementation
- [Part II](https://socket.io/get-started/private-messaging-part-2/): persistent user ID
- [Part III](https://socket.io/get-started/private-messaging-part-3/): persistent messages
- [Part IV](https://socket.io/get-started/private-messaging-part-4/): scaling up## Running the frontend
```
npm install
npm run serve
```### Running the server
```
cd server
npm install
npm start
```