TalkFlow is a modern, real-time one-to-one chat application. It is built using the MERN stack.
- Frontend
TalkFlow Live App
- JWT Authentication (HTTP-only cookies)
- Real-time messaging using Socket.IO
- One-to-one chats
- Search chats by username
- Emoji picker
- Multiline messages
- Delete chat with confirmation
- Responsive UI
- Fast Vite + React frontend
- React (Vite)
- Tailwind CSS
- Socket.IO Client
- Lucide Icons
- React Router DOM
- Node.js
- Express.js
- MongoDB
- Socket.IO
- JWT Authentication
- Cookie-based auth
- Frontend: Vercel
- Backend: Render
- Database: MongoDB Atlas
Follow the steps below to run TalkFlow on your local desktop.
Make sure you have the following installed:
- Node.js (v18 or later)
- npm or yarn
- MongoDB (local or MongoDB Atlas)
- Git
git clone https://github.com/<your-username>/talkflow.git
cd talkflow
### Backend Setup
cd backend
npm installPORT=5000
MONGODB_URI=mongodb+srv://<username>:<password>@cluster0.mongodb.net/talkflow
JWT_SECRET=your_jwt_secret_key
CLIENT_ORIGIN=http://localhost:5173
NODE_ENV=development
GEMINI_API_KEY=api_key
npm run devBackend will start at: http://localhost:5000
cd ../frontend
npm installVITE_BACKEND_API=http://localhost:5000npm run devFrontend will start at: http://localhost:5173
- Group chats
- Typing indicators
- Message read receipts
- File & media sharing
- Online/offline user status
- Push notifications
Priya Gupta
Full-Stack Developer
GitHub: https://github.com/priyagupta-js
LinkedIn: https://www.linkedin.com/in/priyagupta-js/
If you like this project, please give it a ⭐ on GitHub — it helps a lot!