Giter VIP home page Giter VIP logo

menr_realtime_chat_socket_io's Introduction

Real-Time Chat Application

This is a real-time chat application built using the MERN stack (MongoDB, Express.js, React, Node.js) with Socket.io for real-time communication. The project uses React Router for navigation and the Context API for state management.

Features

  • Real-Time Communication: Utilizes Socket.io for instant messaging and updates.
  • User Authentication: Allows users to sign up, log in, and track their conversations.
  • React Router: Implements client-side routing for a seamless single-page application experience.
  • Context API: Manages global state, providing easy access to data throughout the app.

Technologies Used

  • Frontend:

    • React
    • React Router
    • Context API
  • Backend:

    • Node.js with Express.js
    • Socket.io for real-time features
    • MongoDB for data storage

Installation

  1. Clone the repository:
    https://github.com/harshmamgai/MENR_Realtime_chat_socket_io.git
    cd real-time-chat-app
    

Install dependencies for both the server and client:

Install server dependencies

cd server npm install

Install client dependencies

cd ../client npm install

Configure Environment Variables:

Create a .env file in the server directory and set your MongoDB URI and other necessary variables. Run the Application:

Run the server

cd server yarn start

Run the client

cd ../client yarn start

Usage

Open your browser and go to http://localhost:3000 to access the chat application. Sign up, log in, and start real-time conversations.

menr_realtime_chat_socket_io's People

Contributors

harshmamgai avatar

Stargazers

 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.