{"id":50366041,"url":"https://github.com/ashvinck/news-app","last_synced_at":"2026-05-30T04:04:18.473Z","repository":{"id":194687742,"uuid":"690686495","full_name":"ashvinck/news-app","owner":"ashvinck","description":"This a react personal news app that allows user to access and personalise news articles.","archived":false,"fork":false,"pushed_at":"2023-09-14T03:55:05.000Z","size":9530,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-09-14T17:33:22.240Z","etag":null,"topics":["authentication","axios","fetch","firebase","mui","react","redux","responsive-design"],"latest_commit_sha":null,"homepage":"","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/ashvinck.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}},"created_at":"2023-09-12T17:05:46.000Z","updated_at":"2023-09-14T17:33:24.614Z","dependencies_parsed_at":"2023-09-14T17:44:17.507Z","dependency_job_id":null,"html_url":"https://github.com/ashvinck/news-app","commit_stats":null,"previous_names":["ashvinck/news-app"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/ashvinck/news-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvinck%2Fnews-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvinck%2Fnews-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvinck%2Fnews-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvinck%2Fnews-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashvinck","download_url":"https://codeload.github.com/ashvinck/news-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashvinck%2Fnews-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33679310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["authentication","axios","fetch","firebase","mui","react","redux","responsive-design"],"created_at":"2026-05-30T04:04:17.532Z","updated_at":"2026-05-30T04:04:18.463Z","avatar_url":"https://github.com/ashvinck.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  News App\n\n**Description:** This is a React-based web app that allows users to access and personalize news articles. It integrates Firebase for user authentication, an open-source news API for fetching articles, and provides features like grid view, news detail view, favoriting articles, state management using Redux, offline support, and responsive UI/UX design.\n\n## Features\n\n1. **User Registration and Login**\n   - Users can create accounts and log in using Firebase for authentication.\n\n2. **News API Integration**\n   - Fetches the latest news articles from an open-source news API (e.g., NewsAPI).\n   - Displays articles in a list view for the Flutter app and two columns of list view for the web app.\n\n3. **Grid View**\n   - Includes a toggle button to switch between list and grid view for news articles.\n\n4. **News Detail View**\n   - When users tap on a news article, it opens a full-screen detailed view.\n   - Shows the title, description, image, and a link to the full article.\n   - Utilizes an in-app web view for displaying the full article content (for the Flutter app).\n\n5. **Favorite Articles**\n   - Users can mark articles as favorites.\n   - Preferences are stored in Firebase for persistence.\n   - Favoriting can be done via a heart icon on list items or the details view.\n\n6. **State Management**\n   - Utilizes Redux for state management.\n\n7. **Offline Support**\n   - Implements caching mechanisms to allow users to read previously fetched news articles even when offline.\n\n8. **Design and UI/UX**\n   - Pay attention to app design to create a user-friendly interface, provides a dark mode too.\n\n9. **Responsive**\n   - The app is responsive to different screen sizes and provides a smooth user experience.\n\n## Setup\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/ashvin_ck/news-app.git\n   cd news-app\n   ```\n\n2. **Install dependencies**:\n\n    ```sh\n    npm install\n    ```\n\n3. **Configure Firebase**:\n\n    1. Create a Firebase project in the Firebase Console.\n    2. Set up Firebase Authentication and Firestore for storing user data and favorites.\n    3. Update Firebase configuration in the app (usually in src/firebase.js).\n    4. Sign up for an API key from NewsAPI or your chosen news API source.\n    5. Update the API key in your app's configuration.\n    6. Start the development server:\n     \n     ```sh\n     npm start\n     ```\n\n\n## Usage\n\n- Register and log in to your account using the provided authentication system.\n- Browse and read the latest news articles.\n- Toggle between list and grid view.\n- Click on a news article to view its details.\n- Favorite articles by clicking the heart icon.\n- Access your favorite articles from the favorites section.\n- Enjoy a responsive and user-friendly interface.\n- Contributing\n- If you would like to contribute to this project, please follow these steps:\n\n## Fork the repository.\n\nCreate a new branch for your feature: git checkout -b feature-name\nMake your changes and commit them: git commit -m 'Add feature-name'\nPush to the branch: git push origin feature-name\nCreate a pull request.\n\n## License\nThis project is licensed under the MIT License.\n\n## Preview \n\n![Login](login.png)\n![column view](column.png)\n![grid view](grid.png)\n![mob view](mob.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashvinck%2Fnews-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashvinck%2Fnews-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashvinck%2Fnews-app/lists"}