{"id":18756643,"url":"https://github.com/ankitkumar8080/zenchat","last_synced_at":"2026-03-09T10:33:50.337Z","repository":{"id":244985534,"uuid":"816897268","full_name":"AnkitKumar8080/zenChat","owner":"AnkitKumar8080","description":"This is a full-featured chat and video call application built using the MERN stack (MongoDB, Express.js, React, Node.js). The application supports one-to-one and group chats, and users can share images, text messages, and files. Also Supports one-to-one video chat. ","archived":false,"fork":false,"pushed_at":"2025-01-01T17:05:12.000Z","size":22225,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-10T22:06:22.130Z","etag":null,"topics":["chat-application","express","full-stack","group-chat","image-sharing","instand-messaging","mern","mongodb","nodejs","one-to-one-chat","react","real-time-chat","rest-api","socket-io","tailwindcss","vite","webrtc","webrtc-signaling","webrtc-video","websockets"],"latest_commit_sha":null,"homepage":"https://zenchat-indol.vercel.app","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/AnkitKumar8080.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":"2024-06-18T15:53:41.000Z","updated_at":"2025-05-29T09:17:43.000Z","dependencies_parsed_at":"2024-07-23T22:42:59.283Z","dependency_job_id":"81f63991-287a-46a4-92bb-5b128922cc7f","html_url":"https://github.com/AnkitKumar8080/zenChat","commit_stats":null,"previous_names":["ankitkumar8080/zenchat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnkitKumar8080/zenChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitKumar8080%2FzenChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitKumar8080%2FzenChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitKumar8080%2FzenChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitKumar8080%2FzenChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnkitKumar8080","download_url":"https://codeload.github.com/AnkitKumar8080/zenChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitKumar8080%2FzenChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30291807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chat-application","express","full-stack","group-chat","image-sharing","instand-messaging","mern","mongodb","nodejs","one-to-one-chat","react","real-time-chat","rest-api","socket-io","tailwindcss","vite","webrtc","webrtc-signaling","webrtc-video","websockets"],"created_at":"2024-11-07T17:37:31.895Z","updated_at":"2026-03-09T10:33:50.317Z","avatar_url":"https://github.com/AnkitKumar8080.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zenChat\n\n![zenChat](./screenshots/hero_dark1.png)\n\n## Overview\n\nThis is a full-featured chat and video call application built using the MERN stack (MongoDB, Express.js, React, Node.js). The application supports one-to-one and group chats, and users can share images, text messages, and files. Also Supports one-to-one video chat.\n\n## Features\n\n- **One-to-One video chat:** you can make video call between two users.\n- **One-to-One Chat:** Private messaging between two users.\n- **Group Chat:** Messaging within a group of users.\n- **Media Sharing:** Share images, files, and text messages.\n- **Real-time Communication:** Powered by Socket.IO for real-time interactions.\n- **Dark Mode Added** !!\n\n## Technologies Used\n\n### Frontend\n\n- **React:** For building user interfaces.\n- **Tailwind CSS:** For styling.\n- **Vite:** For fast development and build process.\n- **Axios:** For making HTTP requests.\n- **Socket.IO Client:** For real-time communication.\n- **React Router:** For client-side routing.\n- **Moment.js:** For date and time formatting.\n\n### Backend\n\n- **Node.js:** For the server environment.\n- **Express.js:** For the server framework.\n- **MongoDB:** For the database.\n- **Socket.IO:** For real-time bidirectional communication.\n- **WebRTC:** For peer-to-peer data exchange.\n\n## Installation\n\n### Prerequisites\n\n- Node.js\n- MongoDB\n\n### Backend Setup\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/AnkitKumar8080/zenChat.git\n   cd zenChat\n   ```\n\n2. Navigate to the `backend` directory:\n\n   ```sh\n   cd backend\n   ```\n\n3. Install backend dependencies:\n\n   ```sh\n   npm install\n   ```\n\n4. Create a `.env` file in the `backend` directory, sample `.env.sample` file provided and add the following variables:\n\n   ```env\n   NODE_ENV=development\n   PORT=5000\n   CORS_URL=http://localhost:5173\n\n   # database creds\n   DB_URL=\"your mongodb url don't include database name it will be auto configured\" can be any local or atlas EX Local: \"mongodb://localhost:27017\" EX Atlas: \"mongodb+srv://\u003cusername\u003e:\u003cpassword\u003e@cluster0.mongodb.net?retryWrites=true\u0026w=majority\"\n   DB_NAME=ZenChat\n   DB_MIN_POOL_SIZE=2\n   DB_MAX_POOL_SIZE=5\n\n   COOKIE_VALIDITY_SEC=172800\n   ACCESS_TOKEN_VALIDITY_SEC=182800\n   REFRESH_TOKEN_VALIDITY_SEC=604800\n   TOKEN_ISSUER=api.zenchat.com\n   TOKEN_AUDIENCE=zenchat.com\n\n   JWT_SECRET_KEY=ad9acf5d38a4449da39dba841a4f339681f0a74bc7b014f9876cba55f48563fd\n\n   ```\n\n5. Start the backend server:\n\n   ```sh\n   npm run dev\n   ```\n\n### Frontend Setup\n\n1. Navigate to the `client` directory:\n\n   ```sh\n   cd ../client\n   ```\n\n2. Install frontend dependencies:\n\n   ```sh\n   npm install\n   ```\n\n3. Create a `.env` file in the `client` directory, sample `.env.sample` file provided and add the following variables:\n\n   ```env\n   VITE_SERVER_URL=http://localhost:5000/\n   VITE_SOCKET_URI=http://localhost:5000/\n   ```\n\n4. Start the frontend development server:\n\n   ```sh\n   npm run dev\n   ```\n\n## Usage\n\n1. Open your browser and navigate to `http://localhost:5173`.\n2. Register a new account or log in with an existing account.\n3. Start a one-to-one chat by searching a user and creating a chat with him or create a new group chat.\n4. Share images, files, and text messages in real-time.\n\n![Chat Interface](./screenshots/chat_interface.png)\n\n## Scripts\n\n### Backend\n\n- `start`: Start the server.\n- `dev`: Start the server in development mode with nodemon.\n\n### Frontend\n\n- `dev`: Start the development server with Vite.\n- `build`: Build the application for production.\n- `preview`: Preview the production build.\n- `lint`: Run ESLint.\n\n## Screenshots\n\n### Login Screen\n\n![Login Screen](./screenshots/login_dark.png)\n\n### Chat Interface\n\n![Chat Interface](./screenshots/hero_light1.png)\n\n### Create a One to One Chat\n\n#### Search users to create chat with\n\n#### click on create chat\n\n#### modal will pop create a one to one or a group chat\n\n![Image1](./screenshots/searchUsers.png) ![Image2](./screenshots/createChatModal.png) ![Image3](./screenshots/createGroupChatModal2.png)\n\n### Group Chat\n\n![Group Chat](./screenshots/createdGroupChat.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitkumar8080%2Fzenchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankitkumar8080%2Fzenchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitkumar8080%2Fzenchat/lists"}