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: 3 months ago
JSON representation
:envelope_with_arrow: Chat application
- Host: GitHub
- URL: https://github.com/nelsonwenner/socketio-chat-example
- Owner: nelsonwenner
- Created: 2020-05-12T13:11:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T14:21:34.000Z (about 6 years ago)
- Last Synced: 2025-01-14T11:21:39.478Z (over 1 year ago)
- Topics: chat, express, nodejs, react, reactjs, socket, socket-io
- Language: JavaScript
- Homepage:
- Size: 355 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```
---