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: 2 months 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-04T06:46:54.000Z (over 3 years ago)
- Last Synced: 2025-05-15T23:12:53.426Z (about 1 year 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
```