This project is a video conferencing application with a real-time chat feature. It consists of a frontend built using React and a backend powered by Node.js and TypeScript.
.
├── backend
│ ├── dist # Compiled JavaScript files
│ ├── src # Source TypeScript files
│ │ ├── index.ts # Server entry point
│ │ └── managers # Room and User management logic
│ └── tsconfig.json # TypeScript configuration
└── frontend
├── dist # Production build files
├── public # Static assets
├── src # Application source code
│ ├── components # UI components (Chat, Video, Room, etc.)
└── vite.config.ts # Vite configuration
- Video Conferencing: Join and connect with other users seamlessly.
- Real-time Chat: Send and receive messages during the conference.
- Scalable Backend: Node.js with TypeScript for scalable server management.
- Modern UI: Built with React and Vite for a fast, responsive interface.
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the backend directory:
cd backend
- Install dependencies:
npm install
- Build the backend:
npx tsc
- Start the backend server:
node dist/index.js
- Navigate to the frontend directory:
cd frontend
- Install Vercel CLI if not already installed:
npm install -g vercel
- Deploy the frontend:
vercel
- Navigate to the backend directory:
cd backend
- Deploy the backend:
vercel
Ensure that API routes are properly set up and proxying is correctly handled between frontend and backend.
Ensure the following environment variables are set for both frontend and backend if required:
REACT_APP_API_URL=<backend_url>
NODE_ENV=production
npm run dev
: Starts the frontend development server.npm run build
: Builds the frontend for production.npm run preview
: Previews the production build.
npx tsc
: Compiles TypeScript to JavaScript.node dist/index.js
: Starts the backend server.
Feel free to fork this repository and submit pull requests for new features or bug fixes.
This project is licensed under the MIT License.