Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mandaputtra/privatemessage-socket-io
An example of build simple private message using socket.io
https://github.com/mandaputtra/privatemessage-socket-io
Last synced: about 2 months ago
JSON representation
An example of build simple private message using socket.io
- Host: GitHub
- URL: https://github.com/mandaputtra/privatemessage-socket-io
- Owner: mandaputtra
- Created: 2019-01-10T04:06:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T03:12:37.000Z (almost 6 years ago)
- Last Synced: 2024-10-13T12:41:05.040Z (3 months ago)
- Language: JavaScript
- Size: 286 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SOCKET IO PRIVATE MESSAGE EXAMPLE
Leverage the use of socket io to send message on specific socket.id, this project still missing
many points like storing message on the db and others things.TODO :
- [x] Storing Message
- [x] Registering User
- [ ] Show some buble when user chat
- [ ] User sessions## How to run the project ?
```Bash
# Install dependecy
$ npm install# change some variables on the .env variables that fit your need
# now run the project
$ npm run dev
```The code for socket-io are on middleware folder.
On front end I use nuxtjs and vuetify SPA mode
```Bash
# install the package
$ yarn install# run dev
$ yarn dev# build and start project can found on nuxtjs deployment
```