https://github.com/kunalvirwal/fastchat
An Express-JS based chat service with password based group joining and anonymous chat capabilities using Socket.io and MongoDB
https://github.com/kunalvirwal/fastchat
chatapp chatroom ejs express expressjs javascript mongodb mongodb-atlas mongoose socket-io webapplication websocket
Last synced: 3 months ago
JSON representation
An Express-JS based chat service with password based group joining and anonymous chat capabilities using Socket.io and MongoDB
- Host: GitHub
- URL: https://github.com/kunalvirwal/fastchat
- Owner: kunalvirwal
- Created: 2024-07-23T14:06:48.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T10:32:04.000Z (about 1 year ago)
- Last Synced: 2025-04-08T11:30:44.017Z (about 1 year ago)
- Topics: chatapp, chatroom, ejs, express, expressjs, javascript, mongodb, mongodb-atlas, mongoose, socket-io, webapplication, websocket
- Language: EJS
- Homepage: https://fastchat.kunalvirwal.tech/
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastChat
FastChat is a lightweight and efficient anonymous chat application designed for seamless real-time communication. It is built with socket.io to ensure a smooth and real time user communication. It allows users to come and create chat rooms and share them with ID and password. These rooms can hold any no of users and can be deleted by its admin.
This app is also deployed at https://fastchat.kunalvirwal.tech
## 🐳 Run via docker
```
docker run -it -p 8000:80 -e PORT=80 -e SECRET_KEY= -e MONGODB_URI="" docker.io/kunalvirwal/fastchat:latest
```
## Run via code
1. Clone the repository:
```bash
git clone https://github.com/kunalvirwal/FastChat.git
```
2. Navigate to the project directory:
```bash
cd FastChat
```
3. Install dependencies:
```bash
npm install
```
4. Create a `.env` file and add environment variables
```
cp sample.env .env
```
4. Start the development server:
```bash
npm start
```
5. Visit `http://localhost:8000`
## Technologies Used
- **Frontend**: HTML, CSS, EJS
- **Backend**: Express JS
- **Database**: MongoDB
- **WebSocket**: Socket.IO for real-time communication