A real-time video chat platform that connects BITS Pilani students randomly for conversations, built with SvelteKit, Express.js and WebRTC.
- Node.js 18+
- MongoDB (local or Atlas)
- Git
BITSmegle/
├── src/ # Frontend (SvelteKit)
├── server/ # Backend (Express.js + Socket.IO)
└── README.md
npm install
Create .env
file in root directory after copying .env.example
npm run dev
The frontend will be available at http://localhost:5173
cd server
npm install
Create .env
file in server
directory following the .env.example
npm run dev
The backend will be available at http://localhost:3000
POST /api/oauth
- Google OAuth loginPOST /api/users
- Verify user session
GET /api/users/:id
- Get user profilePOST /api/rep
- Update user reputation
GET /stats
- Server health check
- Fork the repository
- Create feature branch:
git checkout -b feature-name
- Commit changes:
git commit -m 'Add feature'
- Push to branch:
git push origin feature-name
- Submit pull request