{"id":27817074,"url":"https://github.com/saisanthosh2218/react_chat_app","last_synced_at":"2026-04-06T21:32:57.542Z","repository":{"id":254446284,"uuid":"846204893","full_name":"saisanthosh2218/React_Chat_App","owner":"saisanthosh2218","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-03T06:15:14.000Z","size":12207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T15:37:53.813Z","etag":null,"topics":["backend","chat-application","expressjs","javascript","mongodb","nodejs","reactjs","reactrouterdom","socket-io","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://react-chat-app-lyart-seven.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/saisanthosh2218.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-08-22T18:21:17.000Z","updated_at":"2025-05-03T06:15:17.000Z","dependencies_parsed_at":"2024-09-12T02:41:00.866Z","dependency_job_id":"e453d365-a542-48d7-8549-1390e2020411","html_url":"https://github.com/saisanthosh2218/React_Chat_App","commit_stats":null,"previous_names":["saisanthosh2218/react_chat_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saisanthosh2218/React_Chat_App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saisanthosh2218%2FReact_Chat_App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saisanthosh2218%2FReact_Chat_App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saisanthosh2218%2FReact_Chat_App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saisanthosh2218%2FReact_Chat_App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saisanthosh2218","download_url":"https://codeload.github.com/saisanthosh2218/React_Chat_App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saisanthosh2218%2FReact_Chat_App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31491097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"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":["backend","chat-application","expressjs","javascript","mongodb","nodejs","reactjs","reactrouterdom","socket-io","tailwindcss","vite"],"created_at":"2025-05-01T14:32:33.124Z","updated_at":"2026-04-06T21:32:57.524Z","avatar_url":"https://github.com/saisanthosh2218.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chatty - React Chat Application\n\nA real-time chat application built with React, Node.js, Express, Socket.IO, and MongoDB.\n\n## Features\n\n- User authentication (login/register)\n- Profile management with profile picture upload\n- Real-time messaging\n- Online/offline status indicators\n- File sharing\n- Message history\n- Responsive design\n\n## Screenshots\n\n- Login page\n- Chat interface\n- Profile management\n\n## Tech Stack\n\n### Frontend\n- React\n- React Router\n- Socket.IO Client\n- Axios\n- CSS\n\n### Backend\n- Node.js\n- Express\n- Socket.IO\n- MongoDB with Mongoose\n- JWT Authentication\n- Bcrypt for password hashing\n- Multer for file uploads\n\n## Installation\n\n### Prerequisites\n- Node.js (v14 or higher)\n- MongoDB\n\n### Setup\n\n1. Clone the repository:\n```\ngit clone https://github.com/yourusername/chatty.git\ncd chatty\n```\n\n2. Install dependencies for both frontend and backend:\n```\n# Install backend dependencies\ncd Server\nnpm install\n\n# Install frontend dependencies\ncd ../FrontEnd\nnpm install\n```\n\n3. Create a `.env` file in the Server directory with the following variables:\n```\nPORT=7859\nMONGODB_URI=mongodb://localhost:27017/chatApp\nJWT_SECRET=your_jwt_secret\n```\n\n4. Start the MongoDB server:\n```\nmongod\n```\n\n5. Start the backend server:\n```\ncd Server\nnpm run dev\n```\n\n6. Start the frontend development server:\n```\ncd FrontEnd\nnpm run dev\n```\n\n7. Open your browser and navigate to `http://localhost:5173`\n\n## Usage\n\n1. Register a new account\n2. Log in with your credentials\n3. Update your profile information and profile picture\n4. Start chatting with other users\n5. Share files and images\n\n## API Endpoints\n\n### Authentication\n- `POST /register` - Register a new user\n- `POST /login` - Login a user\n\n### User Management\n- `PUT /update-profile/:userId` - Update user profile\n\n### Chat\n- `GET /contacts/:userId` - Get all contacts\n- `GET /messages/:senderId/:recipientId` - Get messages between two users\n- `POST /upload` - Upload a file\n\n## Socket.IO Events\n\n### Client to Server\n- `userConnected` - User connects to the server\n- `sendMessage` - Send a message to another user\n- `disconnect` - User disconnects from the server\n\n### Server to Client\n- `userStatusUpdate` - Update user status (online/offline)\n- `newMessage` - Receive a new message\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgements\n\n- [Socket.IO](https://socket.io/)\n- [React](https://reactjs.org/)\n- [Express](https://expressjs.com/)\n- [MongoDB](https://www.mongodb.com/)\n- [Mongoose](https://mongoosejs.com/) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaisanthosh2218%2Freact_chat_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaisanthosh2218%2Freact_chat_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaisanthosh2218%2Freact_chat_app/lists"}