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.
Node.js
npm (Node Package Manager)
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
npm run dev
This will launch the Node.js server and set it up to listen on port 5500.
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.
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.
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.
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.