An open API service indexing awesome lists of open source software.

https://github.com/whyankush07/videocall-app

This is code for a video-calling application where media is shared with p2p connection in the form of audio and video using a web-socket connection to establish initial connection.
https://github.com/whyankush07/videocall-app

react vite webrtc websocket

Last synced: 5 months ago
JSON representation

This is code for a video-calling application where media is shared with p2p connection in the form of audio and video using a web-socket connection to establish initial connection.

Awesome Lists containing this project

README

          

# Video-calling App

## Getting Started

To run this project, first clone this repository and open your terminal. Then run the following commands:

### Ensure you have a .env file in your frontend folder with the following content:

NEXT_PUBLIC_WSS_URL=ws://localhost:8080

### Backend Setup

Navigate to the backend directory and install the necessary dependencies:

```bash
cd backend && npm install
```

### Frontend Setup

Now, navigate to the frontend directory and install the necessary dependencies:

```bash
cd ../video-call && npm install
```

### Run the servers

Frontend server:

```bash
npm run dev
```

Backend server:

```bash
cd ../backend && npm run dev
```

#Happy Coding