Skip to content

karan321github/Babble

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babble - MERN Stack Chat Application

Babble is a full-stack chat application built using the MERN (MongoDB, Express.js, React, Node.js) stack. It allows users to create accounts, join chat rooms, and engage in real-time conversations with other users. With features like user authentication, group chats, and more, Babble provides a seamless and interactive chatting experience.

Table of Contents

Demo

  • Login/Signup Page: Login Sign Up Page

  • Single Chat: Single Chats

  • Group Chats: Group Chats

  • User Profile: User Profile

Features

  • User Registration and Authentication
  • Create and Join Chat Rooms
  • Real-time Chat with WebSocket Integration
  • User Profiles with Avatars
  • Emoji Support for Fun Conversations
  • Search for Users and Chat Rooms
  • Mobile Responsive Design
  • ...and more!

Technologies

  • Frontend: React, Chakra UI, Socket.io-client
  • Backend: Node.js, Express.js, Socket.io
  • Database: MongoDB
  • Authentication: JSON Web Tokens (JWT)
  • Cloud Storage: Cloudinary (for avatars)

Installation

  1. Clone the repository:

    git clone https://github.com/ArchitKandu/Babble.git
    cd babble
  2. Install the server dependencies:

    npm install
  3. Set up environment variables: Create a ".env" file in the server directory and add the following variables: MONGO_URI: YOUR MONGODB URI
    JWT_SECRET: YOUR JWT_SECRET
    NODE_ENV: finished

  4. Install the client dependencies:

    cd frontend
    npm install
  5. Run the development server:

    • Server:
      cd Babble
      npm start
    • Client:
      cd frontend
      npm start
  6. Open your browser and access the app at http://localhost:3000

Usage

  • Register an account or log in.
  • Create a chat room or join an existing one.
  • Start chatting in real-time with other users.
  • Explore other features like user search, avatars, and more.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  • Fork the project.
  • Create a new branch for your feature or bug fix.
  • Make your changes and ensure tests pass.
  • Commit your changes.
  • Push to your fork and submit a pull request.

About

A simple chat app using MERN stack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 1.9%
  • CSS 1.4%