{"id":19263868,"url":"https://github.com/rohit-2012/mern-chat","last_synced_at":"2026-04-11T10:09:24.263Z","repository":{"id":249372133,"uuid":"830951485","full_name":"Rohit-2012/mern-chat","owner":"Rohit-2012","description":"A real-time chat web application built with the MERN stack and Socket.io. Users can register, chat with other registered users, and view their online status. The app offers a seamless and interactive chatting experience with instant updates and user-friendly features.","archived":false,"fork":false,"pushed_at":"2024-07-22T06:46:59.000Z","size":630,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T12:26:20.564Z","etag":null,"topics":["bcryptjs","cookie-parser","daisy-ui","expressjs","jsonwebtoken","jwt-authentication","mern-stack","mongodb","mongoose","nodejs","reactjs","socket-io","tailwindcss"],"latest_commit_sha":null,"homepage":"https://mern-chat-qa1m.onrender.com","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/Rohit-2012.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}},"created_at":"2024-07-19T10:28:45.000Z","updated_at":"2024-07-22T06:47:02.000Z","dependencies_parsed_at":"2024-07-20T10:22:27.832Z","dependency_job_id":"9c0f1878-8da8-46bf-81a6-5481eec65fa7","html_url":"https://github.com/Rohit-2012/mern-chat","commit_stats":null,"previous_names":["rohit-2012/mern-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rohit-2012/mern-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rohit-2012","download_url":"https://codeload.github.com/Rohit-2012/mern-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31676393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"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":["bcryptjs","cookie-parser","daisy-ui","expressjs","jsonwebtoken","jwt-authentication","mern-stack","mongodb","mongoose","nodejs","reactjs","socket-io","tailwindcss"],"created_at":"2024-11-09T19:37:18.321Z","updated_at":"2026-04-11T10:09:24.231Z","avatar_url":"https://github.com/Rohit-2012.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN-Chat\n\n## Description\nA real-time chat application built using the MERN stack and Socket.io. This application allows users to login, signup, see the list of registered users, check online status, and chat with other users in real-time.\n\n## Features\n- **Protected Routing**: Ensures that only authenticated users can access certain routes.\n- **Login**: Users can log in to their accounts.\n- **SignUp**: New users can create an account.\n- **Real-Time Chat Updates**: Chat messages are updated in real-time.\n- **New Chat Notification Sound**: Users receive a sound notification for new messages.\n- **Logout**: Users can log out of their accounts.\n- **See Online Users**: Users can see who is currently online.\n- **Search Functionality**: Allows users to search for other registered users.\n\n## Tech Stack Used\n- **Frontend:**\n  - React\n  - React DOM\n  - React Router DOM\n  - Zustand\n  - React Hot Toast\n  - Vite (for development and build)\n  - Tailwind CSS\n  - DaisyUI\n  - Autoprefixer\n  - ESLint\n  \n- **Backend:**\n  - Node.js\n  - Express\n  - MongoDB\n  - Mongoose\n  - Socket.io\n  - BcryptJS\n  - JSON Web Token (JWT)\n  - Cookie-parser\n  - Dotenv\n  \n- **Dev Tools:**\n  - Nodemon (for development server)\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Rohit-2012/mern-chat.git\n   \n2. Frontend setup\n   ```bash\n    cd frontend\n    npm install\n    npm run dev\n\n3. Backend setup in another terminal\n   ```bash\n    npm install\n    npm run server\n4. To run the production build\n   ```bash\n   npm run build\n   npm start\n\n## Environment variables setup\n1. For development\n   ```bash\n   NODE_ENV=development\n   PORT=\u003cport\u003e\n   MONGO_DB_URI=\u003cyour mongoDB URI\u003e\n   JWT_SECRET=\u003cyour secret for JWT\u003e\n2. For development\n   ```bash\n   NODE_ENV=production\n   PORT=\u003cport\u003e\n   MONGO_DB_URI=\u003cyour mongoDB URI\u003e\n   JWT_SECRET=\u003cyour secret for JWT\u003e\n   \n\n**Thank you for checking out the MERN-Chat application! If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository. Feel free to contribute or contact me at rohit.kirti1219@gmail.com. Happy coding!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit-2012%2Fmern-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohit-2012%2Fmern-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit-2012%2Fmern-chat/lists"}