ChatSync - Real-Time Chat Application
π Live Demo
π https://chatsync-pqe6.onrender.com/
π Overview
ChatSync is a real-time chat application built with modern web technologies, allowing users to send text, images, and videos instantly. It features real-time messaging, media uploads, and a seamless UI for an engaging chat experience.
π Tech Stack
Frontend:
β‘ React (with Vite for fast builds)
π¨ Tailwind CSS (for styling)
π Zustand (for state management)
π Axios (for API requests)
Backend:
π Node.js & Express (for server-side logic)
π¦ MongoDB (for database storage)
π Socket.io (for real-time communication)
β Cloudinary (for image & video storage)
Deployment:
π Render (for hosting backend & frontend)
π― Features
β Real-time messaging with Socket.io
β Media uploads (images & videos via Cloudinary)
β State management with Zustand
β Secure API with Express & MongoDB
β Responsive UI with Tailwind CSS
β Deployed on Render for live access
π₯οΈ Installation & Setup
1οΈβ£ Clone the Repository
https://github.com/KalashThakare/Chat-Application.git
2οΈβ£ Setup Backend
cd backend
npm install
npm start # Runs on port 4000 by default
3οΈβ£ Setup Frontend
cd frontend
npm install
npm run dev # Runs on port 5173 by default
4οΈβ£ Environment Variables
Create a .env file in the backend/ directory and add:
MONGO_URI=your-mongodb-uri
CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name
CLOUDINARY_API_KEY=your-cloudinary-api-key
CLOUDINARY_API_SECRET=your-cloudinary-api-secret
JWT_SECRET=your-jwt-secret
π Deployment
Deploying on Render
Push your code to a GitHub repository
Connect Render with your repo
Deploy backend & frontend separately on Render
π€ Contributing
Fork the repository
Create a new branch: git checkout -b feature-branch
Commit your changes: git commit -m 'Add new feature'
Push to the branch: git push origin feature-branch
Open a Pull Request