Skip to content

priyanshu0511/LexConnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LexConnect – Language Exchange Made Simple

LexConnect is a real-time language exchange platform that connects users from around the world to practice and improve their language skills. Through smooth messaging and high-quality video calls, LexConnect makes it easy to find language partners, converse in your target language, and build meaningful connections.


✨ Features

  • 🗣️ Real-time messaging between users
  • 🎥 One-on-one video calling
  • 🔐 Secure JWT-based authentication with HTTP-only cookies
  • 🧑‍🤝‍🧑 User session & profile handling
  • 🌍 Designed specifically for language learners and exchange communities
  • 📱 Fully responsive and modern UI

🛠 Tech Stack

Layer Technology
Frontend React, TailwindCSS, React Query, Axios
Backend Node.js, Express.js, MongoDB, Mongoose
Auth JWT, bcrypt, HTTP-only cookies
Messaging Stream Chat SDK
Video Call Stream Video SDK
Deployment Vercel (frontend), Render (backend)

🌐 Live URLs


🚀 Getting Started

1. Clone the Repo

git clone https://github.com/priyanshu0511/LexConnect.git
cd LexConnect

2. Setup Environment Variables

Backend .env

PORT=5000
MONGODB_URI=your_mongodb_uri
JWT_SECRET_KEY=your_jwt_secret
STREAM_API_KEY=your_stream_api_key
STREAM_API_SECRET=your_stream_api_secret
FRONTEND_URL=http://localhost:5173

Frontend .env

VITE_BACKEND_URL=http://localhost:5000
VITE_STREAM_API_KEY=your_stream_api_key

3. Install Dependencies

# Backend
cd backend
npm install

# Frontend
cd ../frontend
npm install

4. Start Development Servers

# Backend
cd backend
npm run dev

# Frontend
cd ../frontend
npm run dev

💬 Messaging & Video Features (via Stream)

📨 Messaging

  • 1-on-1 conversations

  • Typing indicators, read receipts

  • Media sharing & reactions

📹 Video Calling

  • High-quality peer-to-peer calls

  • Call status tracking

  • Mute, leave, and end controls


🧪 Troubleshooting

  • 401 Errors?
    Make sure cookies are enabled and your API is configured to send credentials correctly.

  • Video/Chat not working?
    Ensure your Stream API key/secret is valid and environment variables are loaded correctly.


🤝 Contributing

LexConnect is open to contributions!
Feel free to fork this repository, make enhancements, and open a pull request.


📄 License

MIT © Priyanshu Singh


💬 Contact

Got a question or idea? Let’s connect and make language learning more fun, social, and global.

LexConnectBridge the language gap, one conversation at a time.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages