{"id":20259926,"url":"https://github.com/shouvick21/chat_application","last_synced_at":"2026-04-01T20:20:40.230Z","repository":{"id":262581491,"uuid":"887241431","full_name":"Shouvick21/chat_application","owner":"Shouvick21","description":"An interactive online chat application with real-time messaging, user authentication, and AI-powered content generation. Built with React, Node.js, and Socket.IO, this app allows users to chat live and generate images or text content via ChatGPT for enhanced conversations.","archived":false,"fork":false,"pushed_at":"2024-11-13T06:39:37.000Z","size":7377,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T12:23:25.919Z","etag":null,"topics":["css","daisyui","expressjs","html5","mongodb","mongoose","nodejs","react","redux-persist","redux-toolkit","socket-io","tailwindcss"],"latest_commit_sha":null,"homepage":"https://chat-application-psi-ten.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/Shouvick21.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-11-12T12:10:54.000Z","updated_at":"2024-11-13T06:39:41.000Z","dependencies_parsed_at":"2024-11-13T07:41:41.115Z","dependency_job_id":null,"html_url":"https://github.com/Shouvick21/chat_application","commit_stats":null,"previous_names":["shouvick21/chat_application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Shouvick21/chat_application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shouvick21%2Fchat_application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shouvick21%2Fchat_application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shouvick21%2Fchat_application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shouvick21%2Fchat_application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shouvick21","download_url":"https://codeload.github.com/Shouvick21/chat_application/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shouvick21%2Fchat_application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31018705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"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":["css","daisyui","expressjs","html5","mongodb","mongoose","nodejs","react","redux-persist","redux-toolkit","socket-io","tailwindcss"],"created_at":"2024-11-14T11:17:17.633Z","updated_at":"2026-03-27T04:26:07.477Z","avatar_url":"https://github.com/Shouvick21.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Application\n\nThis Chat Application is an online platform that enables users to interact with each other in real-time. It supports real-time messaging between users and integrates with ChatGPT to generate images and content that can be shared in conversations.\n\n## Deployed Link\n- [Chat Application on Vercel](https://chat-application-psi-ten.vercel.app/)\n\n## Features\n- **Real-time Chat**: Enables live, real-time messaging between two users.\n- **User Authentication**: Users can sign up and log in to access the chat platform.\n- **AI-powered Content Generation**: Users can generate images and content using ChatGPT, which can be sent to the other user.\n\n## Tech Stack\n- **Frontend**: HTML, CSS, React, Tailwind CSS, DaisyUI\n- **Backend**: Node.js, Express\n- **Real-time Communication**: Socket.IO\n- **AI Integration**: OpenAI (ChatGPT)\n- **Database**: MongoDB\n- **Version Control**: Git\n\n## Signup \u0026 login page\n\n- **SignUp**: Users can register.\n- **LogIn**: Registered users can log in to play\n\n![Signup Page](./frontend/public/signup.png)\n\n![Login page](./frontend/public/login.png)\n\n## Chatting Page\n\nThe Chatting Page is the core interface where users can engage in real-time conversations with each other. This page is designed to be simple and user-friendly, allowing users to send and receive messages instantly.\n\n### Key Features\n- **Real-time Messaging**: Messages are updated instantly across all connected users, providing a seamless chatting experience.\n- **AI-Powered Content Generation**: Users can use an integrated ChatGPT feature to generate images or text content that can be shared directly in the chat.\n- **User-Friendly Interface**: The chat interface is clean and intuitive, making it easy for users to navigate and interact.\n- **Read Receipts**: Users can see when their messages have been read, enhancing the interaction experience.\n- **Typing Indicators**: Real-time typing indicators let users know when the other person is typing, adding a more interactive feel to the conversation.\n\n### Interface Overview\n- **Message Area**: Displays the conversation history with messages aligned to the right for the user and left for the other participant.\n- **Input Box**: Allows users to type messages or generate content with ChatGPT.\n- **Send Button**: Sends the typed message instantly.\n- **ChatGPT Button**: Generates AI-powered responses or images that can be shared in the chat.\n\n![Chatting Page](./frontend/public/chatting%20page.png)\n\n# How to Run the Project\n- Clone the repository.\n- git clone https://github.com/Shouvick21/chat_application\n\n\n# Install the dependencies for both frontend and backend\n- cd .\\frontend\\\n- npm install\n- cd .\\backend\\\n- npm install\n\n# Start the server.\n- node ./index.js\n\n# Start the client.\n- cd .\\frontend\\\n- npm run dev\n\n\n## Project Directory Structure\n```plaintext\nbackend/\n│\n├── configs/\n│   └── database.config.js\n│\n├── controllers/\n│   ├── chatgpt.controller.js\n│   ├── cron_job.js\n│   ├── message.controller.js\n│   └── user.controller.js\n│\n├── middleware/\n│   └── authentication.js\n│\n├── models/\n│   ├── conversation.model.js\n│   ├── message.model.js\n│   └── user.model.js\n│\n├── routes/\n│   ├── chatGpt.route.js\n│   ├── message.router.js\n│   └── user.route.js\n│\n├── socket/\n│   └── socket.js\n│\n├── utils/\n│   ├── hassedpassword.js\n│   ├── profilepic.js\n│   └── token.js\n│\n├── .env\n├── .gitignore\n├── index.js\n├── package-lock.json\n└── package.json\n\nfrontend/\n├── public/\n│   └── index.html\n│\n├── src/\n│   ├── app/\n│   │   ├── store.js\n│   │   └── features/\n│   │       ├── homepage/\n│   │       │   ├── Homepage.jsx\n│   │       │   ├── parts/\n│   │       │   │   ├── GenerateContent.jsx\n│   │       │   │   ├── GenerateImage.jsx\n│   │       │   │   ├── MessageContainer.jsx\n│   │       │   │   └── SendMessage.jsx\n│   │       │   ├── Sidebar.jsx\n│   │       │   └── UserList.jsx\n│   │       └── user/\n│   │           └── userSlice.js\n│   │\n│   ├── assets/\n│   ├── components/\n│   │   ├── Login.jsx\n│   │   ├── Signup.jsx\n│   │   ├── PageNotFound.jsx\n│   │   └── ProtectedRoute.jsx\n│   │\n│   ├── css/\n│   │   └── style.css\n│   │\n│   ├── socket/\n│   │   └── socketSlice.jsx\n│   │\n│   ├── utils/\n│   │   ├── messageEncryption.js\n│   │   └── toast.js\n│   │\n│   ├── App.jsx\n│   ├── App.css\n│   ├── index.css\n│   ├── main.jsx\n│   └── Vite.config.js\n│\n├── .env\n├── .gitignore\n├── tailwind.config.js\n└── package.json\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshouvick21%2Fchat_application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshouvick21%2Fchat_application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshouvick21%2Fchat_application/lists"}