{"id":17484662,"url":"https://github.com/vsbron/react2024-modern-chat-app","last_synced_at":"2026-02-23T23:15:45.441Z","repository":{"id":254270531,"uuid":"846006193","full_name":"vsbron/react2024-modern-chat-app","owner":"vsbron","description":"A single-page application (SPA) chat app built with React and Firebase.","archived":false,"fork":false,"pushed_at":"2026-02-11T22:58:18.000Z","size":1392,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T06:11:32.551Z","etag":null,"topics":["firebase","firestore","react","vanilla-css","zustand"],"latest_commit_sha":null,"homepage":"https://vsbron-react2024-modern-chat-app.netlify.app/","language":"TypeScript","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/vsbron.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-22T11:04:01.000Z","updated_at":"2026-02-11T22:58:22.000Z","dependencies_parsed_at":"2024-10-21T13:39:35.655Z","dependency_job_id":null,"html_url":"https://github.com/vsbron/react2024-modern-chat-app","commit_stats":{"total_commits":90,"total_committers":1,"mean_commits":90.0,"dds":0.0,"last_synced_commit":"00a30dc1b31549dc0686c2debaa24952df21144e"},"previous_names":["vsbron/react2024-modern-chat-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vsbron/react2024-modern-chat-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsbron%2Freact2024-modern-chat-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsbron%2Freact2024-modern-chat-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsbron%2Freact2024-modern-chat-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsbron%2Freact2024-modern-chat-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsbron","download_url":"https://codeload.github.com/vsbron/react2024-modern-chat-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsbron%2Freact2024-modern-chat-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29760254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T21:02:23.375Z","status":"ssl_error","status_checked_at":"2026-02-23T20:58:31.539Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["firebase","firestore","react","vanilla-css","zustand"],"created_at":"2024-10-19T01:05:07.119Z","updated_at":"2026-02-23T23:15:45.436Z","avatar_url":"https://github.com/vsbron.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modern Chat App\n\nA single-page application (SPA) chat app built with React and Firebase.\n\nOriginally created as a course project, this application was fully refactored and significantly expanded with improved architecture, state management, UI/UX enhancements, and additional product-level features.\n\n## Features\n\n### Login Page\n\n- When not authenticated, the login page displays **Log In** and **Sign Up** options.\n- To log in, users enter their registered email and a valid password.\n- To sign up, users enter a valid email, unique username, password, and avatar.\n\n### Main Page\n\n- The main chat page is divided into three columns: **Chat List**, **Main Chat Section**, and **Details Section**.\n- **Chat List**:\n  - Displays main user information, a settings icon, logout button, search bar, and list of available chats.\n  - **Settings** menu allows profile updates (avatar, username, password, description) and color scheme selection.\n  - **Search bar** includes an input to filter the chat list and an **Add User** button.\n  - **Add User** modal lets users search for others by username or email and initiate chats.\n- **Main Chat Section**:\n  - Shows the selected chat and information about the chat partner.\n  - Allows sending and receiving text, emojis, and images.\n- **Details Section**:\n  - Lists chat partner details, shared images and files, and a block option.\n  - **Images and Files** sections display shared items with individual download options.\n  - **Block** button prevents messages from being exchanged with the chat partner.\n\n## Technical Details\n\n- Authentication is managed via **Firebase**.\n- Data fetching and storage are handled by **Firestore**.\n- Real-time updates via **Firestore listeners** (`onSnapshot`).\n- **Vanilla CSS** with **BEM methodology** for styling.\n- **Toastify** library manages notifications.\n- **Zustand** is used for state management.\n- Code-splitting using React.lazy and Suspense to reduce initial bundle size\n- **HeroIcons** are used for some icons.\n- Responsive design supports mobile devices with a minimum width of 360px.\n\n## Key Improvements over the Original project (Refactor + Feature Expansion)\n\nThis project started as a course-based chat app and was later fully rewritten and expanded into a more production-style SPA.\n\n### Engineering \u0026 Architecture\n\n- Rewritten as a React SPA with **TypeScript**\n- Improved UI structure and responsiveness (mobile min-width: 360px)\n- Optimized icon usage (removed unused assets, replaced active icons with SVGs)\n\n### UX \u0026 Product Features\n\n- Settings menu with profile customization (avatar, username, password, description)\n- Theme / color scheme selector\n- Add Users flow (search by username or email)\n  - Prevents self-add and duplicate chats\n- Pinned chats for quick access\n- Quick close chat action (\"X\" button)\n- Improved modal behavior (outside click + Esc to close)\n- Enter-to-send support\n\n### Messaging \u0026 Attachments\n\n- Send text, emojis, and images\n- File/image attachment preview + remove before sending\n- Attachments appear in chat with filename + download option\n- Shared files/images displayed in the Details panel with per-item download buttons\n- Block user support (prevents message exchange while keeping avatars/names visible)\n\n## License\n\n© 2024 BroN\n\nThis repository is intended for portfolio/demo purposes. Permission is granted to view and run the project for personal evaluation. Reuse, redistribution, or commercial use is not permitted without written permission.\n\n### Live version\n\nhttps://vsbron-react2024-modern-chat-app.netlify.app/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsbron%2Freact2024-modern-chat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsbron%2Freact2024-modern-chat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsbron%2Freact2024-modern-chat-app/lists"}