Skip to content

Welcome to **Chit Chat**, a modern real-time chat application built using the MERN stack, **Socket.io**, and styled with **Daisy UI**. This project provides seamless, interactive chat functionality with a sleek and responsive design.

Notifications You must be signed in to change notification settings

abhishekgurjar-in/Chit-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Chit Chat - MERN Socket.io Chat Application

Welcome to Chit Chat, a modern real-time chat application built using the MERN stack, Socket.io, and styled with Daisy UI. This project provides seamless, interactive chat functionality with a sleek and responsive design.


🛠 Features

  • Real-Time Communication: Instant messaging powered by Socket.io.
  • User Authentication: Secure signup and login using JWT (JSON Web Tokens).
  • Responsive UI: Designed with Daisy UI for a clean and responsive experience.
  • Group Chats: Create and manage group conversations.

💻 Technologies Used

Frontend

  • React.js
  • Daisy UI (on top of Tailwind CSS)
  • Axios for API communication
  • React Router for navigation

Backend

  • Node.js
  • Express.js
  • MongoDB with Mongoose
  • Socket.io for real-time communication
  • JWT for authentication

🚀 Installation and Setup

Prerequisites

Make sure you have the following installed:

  • Node.js (v14 or later)
  • MongoDB (running locally or hosted)
  • Git

Steps to Run

  1. Clone the repository:

    git clone https://github.com/abhishekgurjar-in/chit-chat.git
    cd chit-chat
  2. Set up the server:

    cd server
    npm install
    • Create a .env file in the server directory and add:
      PORT=5000
      MONGO_URI=your_mongodb_connection_string
      JWT_SECRET=your_jwt_secret
      SOCKET_PORT=5001
      
    • Start the server:
      npm start
  3. Access the application:

    • Open your browser and navigate to http://localhost:3000.

📸 Screenshots

image image


🛡 Security Features

  • JWT Authentication: Secure access to routes and user sessions.
  • Input Validation: Prevents malicious input via form validations.
  • WebSocket Security: Ensures authenticated connections for real-time updates.

🤝 Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a feature branch: git checkout -b feature-name.
  3. Commit your changes: git commit -m "Add new feature".
  4. Push to the branch: git push origin feature-name.
  5. Submit a pull request.

💬 Contact

For questions, feedback, or collaboration:

About

Welcome to **Chit Chat**, a modern real-time chat application built using the MERN stack, **Socket.io**, and styled with **Daisy UI**. This project provides seamless, interactive chat functionality with a sleek and responsive design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published