Skip to content

Latest commit

 

History

History
72 lines (61 loc) · 2.22 KB

README.md

File metadata and controls

72 lines (61 loc) · 2.22 KB

Voice Chat Web App

This is a simple voice chat web application built using React and Node.js, leveraging WebRTC peer-to-peer connection. It allows users to have real-time voice conversations directly in the browser without requiring any additional plugins or software.

Features

Peer-to-peer voice communication
Real-time audio streaming
Simple and intuitive user interface
Support for multiple simultaneous conversations
Mute and unmute functionality
User presence indicators
Lightweight and efficient
Prerequisites
Before running the application, ensure that you have the following dependencies installed:
Node.js
npm (Node Package Manager)

Installation

Clone the repository:

git clone https://github.com/your-username/voice-chat-web-app.git Navigate to the project directory:

cd voice-chat-web-app

Install the server dependencies:

npm install

Navigate to the client directory:

cd client

Install the client dependencies:

npm install

Usage

Start the server:

npm run dev

This will launch the Node.js server and set it up to listen on port 5500.

Start the client:

cd client
npm start

This will start the React development server and open the application in your default web browser.

Register and log in with your credentials.

Create or join a conversation by entering the conversation ID.

Grant access to your microphone when prompted.

Once connected, you can start a voice conversation with other participants in the same conversation.

Configuration

To change the server port, database and the third party services you have to add a .env file to store the dependencies also I am giving an example of .env file in the name of .env.example you can change the name it will be ready to use.

Contributing

Contributions are welcome! If you find any bugs or want to add new features, please feel free to open an issue or submit a pull request.

Acknowledgments

This application was built using the WebRTC technology. Special thanks to the creators of React, Express.js, MongoDB and Node.js for providing the foundation for this project. Contact For any inquiries or feedback, please contact sayanp650@gmail.com.

Happy voice chatting!