GithubHelp home page GithubHelp logo

geeekysouro003 / chatnet Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.04 MB

ChatNet is a modern and user-friendly chat application built using the MERN (MongoDB, Express.js, React, Node.js) stack. It aims to provide seamless real-time communication between users, allowing them to exchange messages, share media, and connect instantly.

Home Page: https://chatnet-jo4c.onrender.com

JavaScript 97.35% HTML 0.76% CSS 1.90%
chats expressjs js mongodb nodejs reactjs socket socket-io zustand

chatnet's Introduction

ChatNet:-Real-Time Communication Chat App

project-image

ChatNet is a real-time communication chat application built using the MERN (MongoDB Express React Node.js) stack and Socket.IO for instant bidirectional communication. This app provides a seamless and responsive chat experience supporting multiple users and rooms ensuring real-time message delivery.

๐Ÿง Features

Here're some of the project's best features:

  • Real-time Messaging: Instant messaging with real-time updates using Socket.IO.
  • User Authentication: Secure user authentication with JWT (JSON Web Tokens).
  • Responsive Design: User-friendly interface designed for both desktop and mobile devices.
  • User Presence: Real-time user presence indicators.
  • Message History: Persistent message storage in MongoDB.
  • State Management: Efficient state management using Zustand.

๐Ÿ› ๏ธ Installation Steps:

1. Clone the repository:

git clone https://github.com/GeeekySouro003/ChatNet.git 

2. Go the folder


cd ChatNet

3. Install server dependencies:

cd backend 
npm install

4. Install client dependencies:

cd frontend 
npm install

๐Ÿ› ๏ธ Installation Steps:

1. Server Configuration:

Create a .env file in the server directory and add the following variables:
PORT=5000 
MONGO_URI=your_mongodb_connection_string 
JWT_SECRET=your_jwt_secret_key



<p>2. Client Configuration:</p>

Create a .env file in the client directory and add the following variables: REACT_APP_API_URL=http://localhost:5000

๐Ÿ› ๏ธ Running Application:

1. Start the server:

cd backend npm start

2. Start the client:

Open a new terminal window and run:

cd frontend npm start

๐Ÿ› ๏ธ Usage:

1.Register and Login:

Open the application in your browser. Register a new account or login with existing credentials. 2.reate and Join Rooms:

After logging in, you can create a new chat room or join an existing one. 3.Start Chatting: Enter a room to start sending and receiving messages in real time.

๐Ÿ’ป Built with

Technologies used in the project:

  • Reactjs
  • Mongodb
  • Nodejs
  • ExpressJs
  • Socket-io
  • Zustand

๐Ÿฐ Contribution Guidelines:

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the project repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a Pull Request.

Happy chatting with ChatNet! ๐Ÿš€

chatnet's People

Contributors

geeekysouro003 avatar

Stargazers

Soumalya Bhattacharyya avatar  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.