Skip to content

A real-time anonymous chat application using React and Socket.io

License

Notifications You must be signed in to change notification settings

Joyboy57/anonymous-chat-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Anonymous Chat Application

This is a real-time anonymous chat application developed using React and Socket.io. The app allows users to engage in private, anonymous conversations with others without revealing their identities. It features a clean and simple user interface designed for easy and secure communication.

Features

  • Real-time Messaging: Instant messaging with real-time updates for active users.
  • Anonymous Chat: Users can join chat rooms or initiate one-on-one conversations without revealing any personal information.
  • Customizable Room Names: Create unique chat rooms for different topics or interests.
  • No Sign-Up Required: Users do not need to create an account to start chatting.
  • Secure Communication: All messages are transmitted using WebSocket for fast and secure communication.

Technologies Used

  • Frontend: React.js
  • Backend: Node.js, Socket.io
  • Styling: CSS (Custom styles for UI)

Installation

To run this project locally, follow these steps:

Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm or yarn
  • Docker (optional, for containerization)

Step 1: Clone the repository

git clone https://github.com/yourusername/anonymous-chat-application.git
cd anonymous-chat-application

Step 2: Install dependencies

npm install

Step 3: Run the application locally

do this step for both the client and server side

npm start

The app will start running on http://localhost:3000.

Usage

  1. Open the application in your browser.
  2. Enter a nickname and choose a chat room.
  3. Start sending messages anonymously.
  4. To chat with someone privately, you can send them a direct message by typing their nickname in the chat box.

Screenshots

image

Here's the Sign-up page of Application.

image

image

Running in the local host this is how it would look like This can be achieved by using different browser or account at same time

Future Improvements

  • User Authentication: Implement an optional authentication mechanism to protect rooms from anonymous users.
  • Message Encryption: Add end-to-end encryption for secure private conversations.
  • Emoji Support: Integrate emoji support to enhance user experience.
  • Admin Panel: Introduce an admin feature to manage chat rooms and users.

Contributing

Feel free to fork the repository and submit pull requests. If you have suggestions for new features or improvements, please open an issue.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Let me know if you'd like further customization or any additional sections!

About

A real-time anonymous chat application using React and Socket.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published