{"id":27946056,"url":"https://github.com/dineshkarthikn/chat-web","last_synced_at":"2026-04-11T06:02:24.639Z","repository":{"id":291779246,"uuid":"977556511","full_name":"DINESHKARTHIKN/Chat-Web","owner":"DINESHKARTHIKN","description":"A real-time MERN stack chat application with: Authentication, Real-time Messaging, Cloud Image Uploads","archived":false,"fork":false,"pushed_at":"2025-05-06T14:00:50.000Z","size":5868,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T04:05:23.146Z","etag":null,"topics":["authentication","chat-application","cloudinary","express","jwt","mern","nodejs","react","real-time-messaging","socket-io"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DINESHKARTHIKN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-04T13:32:27.000Z","updated_at":"2025-05-07T06:01:47.000Z","dependencies_parsed_at":"2025-05-06T14:39:39.743Z","dependency_job_id":null,"html_url":"https://github.com/DINESHKARTHIKN/Chat-Web","commit_stats":null,"previous_names":["dineshkarthikn/chat_app","dineshkarthikn/chat-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DINESHKARTHIKN/Chat-Web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DINESHKARTHIKN%2FChat-Web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DINESHKARTHIKN%2FChat-Web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DINESHKARTHIKN%2FChat-Web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DINESHKARTHIKN%2FChat-Web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DINESHKARTHIKN","download_url":"https://codeload.github.com/DINESHKARTHIKN/Chat-Web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DINESHKARTHIKN%2FChat-Web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31670383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","chat-application","cloudinary","express","jwt","mern","nodejs","react","real-time-messaging","socket-io"],"created_at":"2025-05-07T13:47:49.229Z","updated_at":"2026-04-11T06:02:23.358Z","avatar_url":"https://github.com/DINESHKARTHIKN.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💬 MERN Chat Application\n\nA real-time full-stack chat application built using the **MERN stack** (MongoDB, Express, React, Node.js) with **Socket.io** for real-time communication.\n\n## ✨ Features\n\n- 🔐 Authentication \u0026 Authorization using **JWT**\n- 👾 Real-time messaging powered by **Socket.io**\n- 🟢 Online user presence status\n- ☁️ Cloudinary image upload support\n- ✅ Error handling on both client and server\n- 🔐 Passwords hashed using **bcryptjs**\n- 🍪 JWT stored in HTTP-only cookies for session management\n- ⚡ Modern UI with **React**, **Lucide Icons**, and **Zustand** for state management\n\n---\n\n## 📸 Screenshots\n\n### Signup Page\n![Signup Page](https://github.com/DINESHKARTHIKN/Chat_App/blob/main/Images/Screenshot%202025-05-06%20184532.png?raw=true)\n\n### Login Page\n![Login Page](https://github.com/DINESHKARTHIKN/Chat_App/blob/main/Images/Screenshot%202025-05-06%20184543.png?raw=true)\n\n### Profile Page\n![Profile Page](https://github.com/DINESHKARTHIKN/Chat_App/blob/main/Images/Screenshot%202025-05-06%20185303.png?raw=true)\n\n### Chat Page\n![Chat Page](https://github.com/DINESHKARTHIKN/Chat_App/blob/main/Images/Screenshot%202025-05-06%20185723.png?raw=true)\n\n---\n\n## 🚀 Tech Stack\n\n### 🖥️ Frontend\n- **React**\n\n### 🌐 Backend\n- **Node.js**\n- **Express**\n\n### 🗄️ Database\n- **MongoDB**\n- **Cloudinary** (for image storage)\n\n---\n\n## 🛠️ Libraries\n\n### Frontend Libraries\n- **React Router DOM** (for navigation and routing between different pages)\n- **Axios** (for making HTTP requests to the backend)\n- **Zustand** (for state management and storing application data globally)\n- **Lucide React** (for providing icons to enhance UI)\n- **React Hot Toast** (for showing toast notifications on the client)\n\n### Backend Libraries\n- **Mongoose** (for MongoDB interactions)\n- **Socket.io** (for real-time messaging)\n- **dotenv** (for environment variables)\n- **jsonwebtoken** (for JWT authentication)\n- **bcryptjs** (for password hashing)\n- **cookie-parser** (for handling cookies)\n- **cloudinary** (for image uploading)\n- **cors** (for Cross-Origin Resource Sharing)\n\n---\n\n## 🛠️ Installation \u0026 Setup\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/yourusername/your-chat-app.git\ncd your-chat-app\n```\n\n### 2. Install server dependencies\n\n```bash\ncd server\nnpm install\n```\n\n### 3. Install client dependencies\n\n```bash\ncd ../client\nnpm install\n```\n\n### 4. Setup environment variables\n\nCreate a `.env` file in the `/server` directory and add:\n\n```env\nMONGODB_URI=your_mongo_connection_string\nPORT=5001\nJWT_SECRET=your_jwt_secret\n\nCLOUDINARY_CLOUD_NAME=your_cloud_name\nCLOUDINARY_API_KEY=your_api_key\nCLOUDINARY_API_SECRET=your_api_secret\n\nNODE_ENV=development\n```\n\n---\n\n## ▶️ Run the application\n\n### Start the backend server\n\n```bash\ncd server\nnpm run dev\n```\n\n### Start the frontend client\n\n```bash\ncd client\nnpm run dev\n```\n\n\n---\n\n## 📂 Folder Structure\n\n```\nclient/       # React frontend\nserver/       # Node.js + Express backend\n```\n\n---\n\n## 🙌 Acknowledgements\n\nThis project uses:\n\n- [Cloudinary](https://cloudinary.com/)\n- [Socket.io](https://socket.io/)\n- [Lucide Icons](https://lucide.dev/)\n- [Zustand](https://zustand-demo.pmnd.rs/)\n\n\n\n## 🤝 Contributing\n\nContributions are welcome! Fork the repo and create a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshkarthikn%2Fchat-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdineshkarthikn%2Fchat-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshkarthikn%2Fchat-web/lists"}