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

https://github.com/nelsonwenner/socketio-chat-example

:envelope_with_arrow: Chat application
https://github.com/nelsonwenner/socketio-chat-example

chat express nodejs react reactjs socket socket-io

Last synced: 7 months ago
JSON representation

:envelope_with_arrow: Chat application

Awesome Lists containing this project

README

          


SOCKET.IO - EXAMPLE

### Prerequisites
* Node version (12.16.1)
* Npm version (6.14.4)

# Getting Started
1. Fork this repository and clone on your machine
2. Change the directory to `socketio-example` where you cloned it;
3. Run backend, Change the directory to `backend`.

```bash
/* Environment variables */

$ cp .env.example .env

/* Install dependencies */

$ npm install

/* Run backend */

$ npm run start
```

3. Run frontend, Change the directory to `frontend`.

```bash
/* Install dependencies */

$ npm install

/* Run frontend */

$ npm start
```
---