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

https://github.com/lqt93/simple-chat-app

Simple chat application based on ReactJs, Socket.Io. Using simple-chat-api as back-end
https://github.com/lqt93/simple-chat-app

facebook-messages nodejs reactjs simple socket-io-client

Last synced: 2 months ago
JSON representation

Simple chat application based on ReactJs, Socket.Io. Using simple-chat-api as back-end

Awesome Lists containing this project

README

          

# SimpleChat App

SimpleChat is a simple chat web application that uses Socket.io and pure [ReactJs](https://reactjs.org/) (without Redux, Saga, etc).
It need the [SimpleChat API](https://github.com/lqt93/simple-chat-api) as its back-end.
The messenger UI is look like Facebook's messenger.

### Download

```sh
git clone https://github.com/lqt93/simple-chat-app.git
```

### Require

SimpleChat requires NodeJs v10.0 and above.

## Installation

\*\* The instruction uses [Yarn](https://yarnpkg.com/en/) as default, you can either use yarn or npm.

```sh
cd simple-chat-app
yarn install
```

### Running

You need to start [SimpleChat API](https://github.com/lqt93/simple-chat-api) first and then you must add its's API_url to process.env.REACT_APP_API_HOST when starting SimpleChat App

```sh
REACT_APP_API_HOST=your_api_url yarn start
```

### License

MIT