https://github.com/yuvraj0028/node-realtime-chat-app
Our Realtime Chat App, driven by Node.js and WebSockets, ensures low-latency instant messaging with secure room creation. Enjoy responsive design, user authentication, and customizable features for a seamless and personalized chat experience. Connect effortlessly and communicate in real time across devices and browsers.
https://github.com/yuvraj0028/node-realtime-chat-app
backend chat expressjs nodejs websocket
Last synced: 12 months ago
JSON representation
Our Realtime Chat App, driven by Node.js and WebSockets, ensures low-latency instant messaging with secure room creation. Enjoy responsive design, user authentication, and customizable features for a seamless and personalized chat experience. Connect effortlessly and communicate in real time across devices and browsers.
- Host: GitHub
- URL: https://github.com/yuvraj0028/node-realtime-chat-app
- Owner: yuvraj0028
- Created: 2024-01-04T14:32:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-07T11:41:18.000Z (over 2 years ago)
- Last Synced: 2025-02-26T08:44:28.522Z (over 1 year ago)
- Topics: backend, chat, expressjs, nodejs, websocket
- Language: JavaScript
- Homepage: https://nodejs-chat-app-ipfb.onrender.com/
- Size: 31.3 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Realtime Chat App with Node.js and WebSockets
## Overview
This Realtime Chat App is a simple yet powerful application built with Node.js and WebSockets, allowing users to join different chat rooms and communicate with each other in real-time.
## Features
- **Real-time Communication:** Utilizes WebSockets to enable instant messaging between users.
- **Multiple Rooms:** Users can join different chat rooms.
- **User-friendly Interface:** Provides an intuitive and clean user interface for an enjoyable chat experience.
## Prerequisites
Before running the application, make sure you have the following installed:
- Node.js: [Download and install Node.js](https://nodejs.org/)
## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/your-username/realtime-chat-app.git
```
2. Navigate to the project directory:
```bash
cd realtime-nodejs-chat-app
```
3. Install dependencies:
```bash
npm install
```
4. Start the server:
```bash
nodemon src/index.js or node src/index.js
```
5. Open your web browser and go to http://localhost:3000 to access the Realtime Chat App.
## Usage
1. Enter a username.
2. Choose a chat room to join.
3. Start chatting with other users in real-time.
## File Structure
- **src/index.js**: The main server file that handles WebSocket connections and serves the HTML page.
- **public/index.html**: The HTML template for the chat application.
- **public/style.css**: The stylesheet for styling the chat application.
## Dependencies
- `express`: Web framework for Node.js.
- `socket.io`: WebSocket library for Node.js.
## Contributing
Feel free to contribute to the development of this Realtime Chat App by creating issues or submitting pull requests. Your feedback and contributions are highly appreciated!