The PeerConnect Client is the frontend application of the PeerConnect platform, enabling seamless real-time peer-to-peer communication using WebRTC. This client interacts with the backend to establish WebSocket connections and manage signaling for WebRTC calls using Peerjs.
- Real-time audio and video communication.
- Peer-to-peer connection using Peerjs.
- Dynamic room creation and participant management.
- Chat feature for text-based communication.
- Secure connections and event signaling via WebSocket.
- Next: Frontend framework for building the user interface.
- Tailwind: Styling for modern and responsive design.
- WebRTC: For peer-to-peer media streaming, implemented using Peerjs.
- WebSockets: For signaling, event management and real-time communication and chat.
-
Clone the repository:
git clone https://github.com/dheerajGits/PeerConnect-client.git cd PeerConnect-client`
-
Install dependencies:
`npm install
-
Environment Setup:
Create a
.env.local
file in the project root and add the following variables:env
MAIN_API_URL=<Backend API URL># http://localhost:3030 MAIN_PEERJS_SERVER_URL=<PEERJS SERVER URL>` #http://localhost:8080
-
Start the development server:
npm run dev
-
Open your browser and navigate to:
http://localhost:3000
Contributions are welcome! If you'd like to contribute, please:
- Fork the repository.
- Create a feature branch (
git checkout -b feature-name
). - Commit your changes (
git commit -m "Add feature"
). - Push to the branch (
git push origin feature-name
). - Open a Pull Request.
For queries or suggestions, feel free to reach out:
- Author: Dheeraj Sharma (dheerajGits)
- Email: dheerajsadan2002@gmail.com
- LinkedIn: Dheeraj Sharma
Let's connect the world one peer at a time! 🌐