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

https://github.com/remarkablemark/socket.io-chat

Socket.IO chat example.
https://github.com/remarkablemark/socket.io-chat

chat express nodejs realtime realtime-chat socket-io socketio

Last synced: about 2 months ago
JSON representation

Socket.IO chat example.

Awesome Lists containing this project

README

          

# socket.io chat

A simple chatroom powered by [Socket.IO](https://socket.io/).

Inspired by the official [example](https://socket.io/get-started/chat/). There's also a more advanced [example](https://github.com/socketio/socket.io/tree/master/examples/chat).

See [Repl.it](https://repl.it/@remarkablemark/socketio-chat) demo.

## Installation

Clone repository:

```sh
$ git clone https://github.com/remarkablemark/socket.io-chat.git
$ cd socket.io-chat
```

Install dependencies:

```sh
# npm
$ npm install

# yarn
$ yarn
```

## Usage

Start the server:

```sh
# npm
$ npm start

# yarn
$ yarn start
```

Stop the server with `Ctrl-C`.

Open the app:

```sh
$ open http://localhost:3000/
```

## License

MIT