Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```