Giter Club home page Giter Club logo

message-app's Introduction

Real-Time Chat App by

  • Alay Kabir
  • IIT Dhanbad
  • Mechanical Engineering

This is a real-time chat application built using React.js, Node.js, MongoDB, and Socket.io. It allows users to engage in real-time chat conversations with multiple participants.

Features

  • Real-time chat with multiple users
  • User authentication and registration
  • Persistent message storage using MongoDB
  • User avatars
  • Typing indicators
  • Online/offline status

Technologies Used

  • React.js: Frontend user interface
  • Node.js: Backend server
  • MongoDB: Database for message storage
  • Socket.io: Real-time communication
  • Express.js: Web server framework
  • CSS: Styling and design

Installation

  1. Clone the repository:

    git clone https://github.com/alaykabir/Message-App

.git


2. Navigate to the project directory:

```shell
cd Message-App

  1. Install the server dependencies:

    cd server
    npm install
  2. Install the client dependencies:

    cd ../client
    npm install

Configuration

  1. Create a .env file in the server directory with the following environment variables:

    MONGODB_URI=your_mongodb_uri
    PORT=5000
    
  2. Update the client/src/config.js file with the server URL:

    const config = {
      serverUrl: 'http://localhost:5000', // Update this with your server URL
    };
    
    export default config;

Usage

  1. Start the server:

    cd server
    npm start
  2. Start the client:

    cd ../client
    npm start
  3. Access the application in your web browser at http://localhost:3000.

Acknowledgments

  • This project was inspired by the need for real-time communication in modern web applications.
  • Special thanks to the creators and maintainers of React, Node.js, MongoDB, Socket.io, and other open-source technologies used in this project.

Contributors

  • Alay Kabir (@alaykabir)

message-app's People

Contributors

alaykabir 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.