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.
- Host: GitHub
- URL: https://github.com/remarkablemark/socket.io-chat
- Owner: remarkablemark
- Created: 2019-09-27T03:13:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-28T18:28:15.000Z (over 6 years ago)
- Last Synced: 2025-04-08T12:50:20.237Z (about 1 year ago)
- Topics: chat, express, nodejs, realtime, realtime-chat, socket-io, socketio
- Language: JavaScript
- Homepage: https://repl.it/@remarkablemark/socketio-chat
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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