Coder Social home page Coder Social logo

afsify / chathub-messenger Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 131 KB

Provides instant connections through 24 hour chat sessions with strangers. Enjoy anonymous entry and ephemeral messaging in a dynamic chat environment with a responsive dark theme.

Home Page: https://chathubmessenger.vercel.app

JavaScript 97.75% HTML 0.64% CSS 1.61%
realtime-chat socket-io strangers

chathub-messenger's Introduction

ChatHub Messenger

Welcome to ChatHub Messenger - where instant connections come to life! Engage in real-time, one-day chat sessions with strangers effortlessly, fostering a dynamic and ephemeral chat environment. Here are the key features that make ChatHub Messenger stand out:

Features

  • Instant Connections: Seamlessly connect with strangers in real-time, engaging in one-day chat sessions that add an element of excitement to every conversation.
  • Anonymous Entry: Begin chatting with just a username, ensuring privacy and allowing users to enjoy the chat experience without sharing personal details.
  • Ephemeral Messaging: Embrace the ephemeral nature of ChatHub Messenger, where accounts automatically vanish after 24 hours. This ensures a fresh and dynamic chat environment, promoting spontaneous and lively conversations.
  • Live Chat: Engage in real-time conversations with other users through the live chat feature.
  • Responsive Dark Theme UI: Enjoy a visually appealing and responsive dark theme UI that enhances the overall chat experience, making it easy on the eyes and suitable for different devices.
  • Active Users in the Same Timeframe: Connect with users who are active within the same 24-hour timeframe, creating a lively and engaging chat community.

Tools and Technologies

Client-Side Libraries

  • React.js: A JavaScript library for building user interfaces.
  • Redux.js: A predictable state container for JavaScript apps.
  • TailwindCSS: A utility-first CSS framework for rapidly building custom designs.
  • Ant Design: A design system for enterprise-level products.

HTTP Client:

  • Axios: A promise-based HTTP client for making requests to APIs. Axios is used to interact with the server-side API.

Server-Side Technologies

  • Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Express.js: A minimal and flexible Node.js web application framework.
  • Socket.io: Real-time bidirectional event-based communication.
  • MongoDB (Mongoose): A NoSQL database used to store and retrieve data.
  • JWT Token: JSON Web Token for user authentication.

Access the live project

The live project can be accessed at https://chathubmessenger.vercel.app

Getting Started

  1. Clone the repository:

    git clone https://github.com/mhdafs/chathub-messenger.git
  2. Set up environment variables:

    Create a .env file in the root directory or rename the current .env.sample file and configure necessary variables for client and server sides.

    Client ENV

    VITE_GOOGLE_ID = google-auth-id
    VITE_USER_URL = user-backend-url
    VITE_ADMIN_URL = admin-base-url

    Server ENV

    MONGO_URL =  mongo-atlas-url
    CLIENT_URL = react-frontend-url
    JWT_SECRET = jwt-secret-code
  3. Navigate to the client directory:

    Open a terminal in Visual Studio Code and split it into two terminals. In the first terminal, navigate to the client directory:

    cd client
  4. Install client side dependencies:

    npm install
  5. Start the client-side application:

    npm start

    The client-side application will be running on http://localhost:3000

  6. Navigate to the server directory:

    In the second terminal, navigate to the server directory:

    cd server
  7. Install server side dependencies:

    npm install
  8. Start the server:

    npm start

    The server will be running on http://localhost:5000

Contributing

Contributions are welcome! Feel free to open issues and pull requests.

chathub-messenger's People

Contributors

afsify avatar

Stargazers

Torin Rozzelle avatar  avatar Chythanya Ramdas avatar AKASH P C  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.