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

https://github.com/nafiesl/iochat

Simple socket.io example for chat application.
https://github.com/nafiesl/iochat

Last synced: 7 months ago
JSON representation

Simple socket.io example for chat application.

Awesome Lists containing this project

README

          

# IO Chat

Simple socket.io example for chat application, built based on [Socket.io Chat App Using Websockets](https://www.youtube.com/watch?v=tHbCkikFfDE&t=2068) tutorial.

## Server Requirements

- Latest [NodeJS](https://nodejs.org/en) LTS installed
- [Yarn](https://yarnpkg.com/en/docs/install) (optional for nodejs [npm](https://www.npmjs.com/get-npm))

## How to install

1. Clone the repo

```bash
$ git clone https://github.com/nafiesl/iochat.git
```

2. Install package dependencies

```bash
$ yarn
// or
$ npm install
```

3. Run the server

```bash
$ node socket
```

4. Open app in browser: http://localhost:3000

## Screenshots

##### Login
![Login Form](screenshots/iochat-01.jpg "Login Form")

##### Chat
![Chat App](screenshots/iochat-02.jpg "Chat App")

##### Terminal
![Server runs on terminal](screenshots/iochat-03.jpg "Server runs on terminal")