Varta is a real-time video chat platform that connects users randomly to have face-to-face conversations through WebRTC. It leverages Socket.io for signaling and enables smooth peer-to-peer video streaming between users. Whether you want to chat with strangers or friends, Varta offers an intuitive and seamless video calling experience.
Frontend | Backend | Other Dependencies |
---|---|---|
React | Node.js | Socket.io |
TypeScript | Express.js | WebRTC API |
Tailwind CSS |
Follow these steps to run the application on your local machine.
Make sure you have the following installed:
npm (or yarn)
git clone https://github.com/your-username/varta.git
cd varta
cd server
npm install
index.js
.
PORT
FRONTEND_URL
cd ../client
npm install
Open two terminal windows: one for the backend and one for the frontend.
cd server
node src/index.js
cd client
npm start
varta/
βββ client/ # Frontend code (React)
β βββ src/
β β βββ pages/ # React pages (ChatPage, etc.)
β β βββ components/ # UI components (Room)
β βββ public/ # Public assets
|
βββ server/ # Backend code (Node.js)
β βββ Managers/
β β βββ RoomManager.js
β β βββ UserManager.js
| βββ index.js # Server entry point
βββ README.md # Documentation
We welcome contributions! Please follow the steps below to contribute:
git checkout -b feature-name
.git commit -m "Add new feature"
.git push origin feature-name
.