Skip to content

KalashThakare/Chat-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages