Skip to content

Real-time chat application built using Node.js, Express, and Socket.io to enable instant messaging between users. The application provides a simple and intuitive interface for users to connect, exchange messages, and stay in touch in real-time.

Notifications You must be signed in to change notification settings

shubhamch95/realTime-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Chat Application

QUICKCONNECT

Overview

This project is a real-time chat application built using Node.js, Express, and Socket.io. It enables instant messaging between users, providing a simple and intuitive interface for connecting, exchanging messages, and staying in touch in real-time.

image

Features

  • Real-Time Communication: Utilizes Socket.io to establish WebSocket connections for instant messaging.
  • User-Friendly Interface: Provides a clean, modern chat interface with intuitive user interactions.
  • Dynamic Updates: Messages are dynamically updated in real-time without manual refreshing.
  • Styling: The application features a visually appealing design with a responsive layout.

Technologies Used

  • Node.js: Runtime environment for server-side JavaScript.
  • Express: Web application framework for handling HTTP requests and serving static files.
  • Socket.io: Library for real-time bidirectional communication between the server and clients.
  • HTML, CSS, JavaScript: Front-end development for user interface creation.

Getting Started

  1. Clone the Repository: git clone https://github.com/shubhamch95/realTime-chat
    cd real-time-chat

  2. Install dependencies:

    npm install

  3. Start the server:

    npm start

  4. Open in Browser:

    Open your web browser and navigate to http://localhost:9000.

    Usage

  • Enter your name when prompted to start chatting.
  • Type messages in the input area and press Enter to send.
  • Real-time incoming messages will be displayed in the chat area.
  • The chat area dynamically scrolls to show the latest messages.

Folder Structure

  • public: Contains static files (HTML, CSS, client-side JavaScript).
  • server.js: Express server configuration and Socket.io setup.
  • client.js: Client-side JavaScript for managing user interactions.
  • style.css: Cascading Style Sheets for styling the chat interface.
  • package.json: NPM configuration with project dependencies.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

About

Real-time chat application built using Node.js, Express, and Socket.io to enable instant messaging between users. The application provides a simple and intuitive interface for users to connect, exchange messages, and stay in touch in real-time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published