Giter Club home page Giter Club logo

bhupender2 / chat-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 418 KB

This group chat app uses React for the front-end, Socket.io for real-time communication, and Express.js for the back-end. Users join chat rooms with a room ID and their name. Note: To chat with others, use the same room ID.

Home Page: https://chat-app-five-teal.vercel.app/

HTML 8.21% JavaScript 73.37% CSS 18.42%
controlled-components cors expressjs nodejs reactjs socket-io

chat-app's Introduction

Chat App | React, Socket.io, Express.js, CORS

chat-demo

Welcome to our Chat App! This project consists of two main components: a client-side application built with React and a server-side application using Socket.io and Express.js.

Features

  • Real-Time Communication: Utilized Socket.IO to enable seamless real-time data transfer between users, allowing instant messaging and updates.
  • Online User Tracking: Display the number of online users within each chat room in real-time, enhancing user engagement and interaction.
  • Join/Leave Notifications: Integrated join and leave notifications to notify users when someone joins or leaves a chat room, facilitating communication.
  • Cross-Platform Compatibility: Implemented CORS (Cross-Origin Resource Sharing) for seamless data sharing and communication across different platforms.

Folder Structure

  • client: Contains the front-end React application.
  • server: Houses the back-end server using Socket.io and Express.js.

Additional Libraries

  • Cors: Used CORS to handle Cross-Origin Resource Sharing and enable secure communication between the client and server.
  • Nodemon: Integrated Nodemon for automatic server restarts during development.
  • React-emoji: Supports rendering emoji characters in chat messages.
  • React-scroll-to-bottom: Automatically scrolls to the bottom of the chat window when new messages are received.

Getting Started

Client

  1. Navigate to the client folder: cd client
  2. Install dependencies: npm install
  3. Start the client application: npm start

Server

  1. Navigate to the server folder: cd server
  2. Install dependencies: npm install
  3. Start the server: npm start

Demo

Visit our website to see the Chat App in action!

Chat App Demo

Contributing

Feel free to contribute or provide feedback by opening an issue or pull request.

Happy chatting! ๐ŸŽ‰

chat-app's People

Contributors

bhupender2 avatar

Stargazers

 avatar Jean Ferreira dos Santos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.