Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harshitrv/chatapp
A node js chat app built using socket io.
https://github.com/harshitrv/chatapp
express nodejs socket-io
Last synced: 3 days ago
JSON representation
A node js chat app built using socket io.
- Host: GitHub
- URL: https://github.com/harshitrv/chatapp
- Owner: HarshitRV
- Created: 2022-05-11T13:21:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-04T06:46:54.000Z (about 2 years ago)
- Last Synced: 2024-12-26T14:29:40.992Z (about 2 months ago)
- Topics: express, nodejs, socket-io
- Language: JavaScript
- Homepage: https://chatroom-pldm.onrender.com
- Size: 126 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A basic chat app built with Node, Express and Socket.IO
## Setting up the project locally.
1. Install the dependencies:
```sh
npm install
```
2. Create a configs folder and add the configs :
```sh
mkdir configs
touch configs/dev.env
touch configs/test.env
```
3. Specify the environment in the ```dev.env``` and ```test.env``` file:
```sh
PORT=3000
```
4. To run the app in the development mode:
```sh
npm run devstart
```
5. To run the app in the test mode:
```sh
npm run test
```