Skip to content

sowmya-rebbavarapu/SocketTalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Chat Application

This is a real-time chat application built with the MERN stack (MongoDB, Express, React, Node.js) and powered by Socket.io for live messaging and Cloudinary for image uploads. It features user authentication, chat history, media sharing, and online status indicators.


Features

  • User Authentication (JWT based)
  • One-to-One Messaging
  • Image Uploads via Cloudinary
  • Unseen Message Count
  • Online/Offline Status Indicators
  • Real-time Communication using Socket.io
  • User Search
  • Message Seen Tracking

Tech Stack

Frontend:

  • React.js
  • Tailwind CSS
  • Axios (API requests)
  • Socket.io-client
  • React Context API (state management)
  • Vite (build tool)

Backend:

  • Node.js
  • Express.js
  • MongoDB + Mongoose
  • Cloudinary SDK
  • Socket.io
  • JWT for authentication

📦 Installation

1. Clone the Repository

git clone https://github.com/sowmya-rebbavarapu/SocketTalk
cd SocketTalk

2. Setup Backend

cd server
npm install
  • Create a .env file in the server folder:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
npm run dev

3. Setup Frontend

cd client
npm install
npm run dev

Ensure both frontend and backend are running concurrently.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages