News App
The News App is a feature-rich application that allows users to stay updated with the latest news from various sources. It utilizes the Model-View-ViewModel (MVVM) architecture, Retrofit for API integration, Firebase for authentication and storage, and ChatGPT API for interactive chat functionality. The app also offers a weather forecast feature using a weather API and provides a dark theme option for enhanced user experience. Features
Browse and read news articles from popular sources.
Categorized news sections for easy navigation.
Search functionality to find news articles based on keywords.
Bookmark favorite articles for quick access.
Get real-time weather updates based on the user's location.
ChatGPT integration for interactive and personalized news conversations.
User authentication using Firebase Authentication and Google Sign-In.
Reset forgotten passwords via the Forget Password feature.
Option to switch between light and dark themes for personalized app appearance.
Save user preferences and settings using Firebase Firestore.
Screenshots
Include a few screenshots showcasing the user interface and key features of your app. For example:
##Architecture
The app follows the MVVM (Model-View-ViewModel) architecture, which separates the concerns of data management, UI rendering, and user interactions.
Model: Handles data operations and API requests. It includes classes such as NewsRepository, WeatherRepository, and ChatRepository responsible for fetching news articles, weather data, and handling chat interactions.
View: Displays the user interface and handles user interactions. It includes activities, fragments, and layout files responsible for rendering news articles, weather information, and chat conversations.
ViewModel: Acts as a bridge between the Model and View components. It provides data to the View, handles user actions, and updates the Model accordingly. The ViewModel also abstracts the business logic, allowing for better testability and separation of concerns.
Usage
Launch the app and log in using your Firebase or Google account credentials.
Upon successful login, you will be directed to the main screen, displaying the latest news articles.
Browse through the articles by selecting the desired category or using the search feature.
Click on an article to view its detailed information, including the title, author, and content.
Bookmark articles by tapping the bookmark icon for quick access to your favorite content.
Access the weather forecast feature by navigating to the weather section or using the provided widget.
Engage in interactive news conversations by accessing the chat feature powered by ChatGPT API.
Customize the app's appearance by enabling the dark theme in the settings menu.
Enjoy staying updated with the latest news and personalized features of the app!
Contributing Contributions to the News App project are welcome! If you have any ideas, bug fixes, or new features to propose, please submit an issue or create a pull request following the contribution guidelines provided in the repository.
Contact Provide your contact information Kanhaiyayadav7221@gmail.com