News Outlet Software is a data-driven application designed for processing news data in JSON format. This software allows users to interact with a console-based interface for efficient news content management and user-friendly news consumption. It employs diverse data structures for streamlined data management.
- Advanced search functionality for news content.
- Efficient memory management for seamless operation.
- Diverse data structures for effective data organization.
- User-friendly news access and engagement.
- Seamless data storage and retrieval from JSON files.
- C# Programming Language
- JSON.NET (for JSON data handling)
- Clone this repository to your local machine.
git clone <repository-url>
- Ensure you have the necessary prerequisites installed.
To use the application with sample data, follow these steps:
- Download the
.JSON
data file you want to use. - Place the
.JSON
data file in thebin/Debug
directory of the project.
- Open your C# Integrated Development Environment (IDE) like Visual Studio.
- Load the project within your IDE.
- Compile and run the application using your IDE's built-in tools. The application expects news data to be provided in JSON format. It will process this data and allow users to search and interact with news content.
Once the application is running, you can use the following commands in the command-line interface:
Show Recent News
: Displays recent news articles.Show Trending News
: Displays trending news articles.Select News
: Select a news article to read.Go Back
: Return to the previously selected news article.Display All News
: Shows all available news articles.Set System Time
: Set the system time to simulate viewing articles published in the last 24 hours.Exit
: Exit the application. When prompted, you can filter news articles by keywords. Separate multiple keywords with commas.
The core directories within this project include:
basisClasses/
: Directory containing core classesDataManagement.cs
: News data management classFilesProcess.cs
: File processing and data structures classNews.cs
: News class
Program.cs
: Main program file
Special thanks to @SizarStass for their valuable contributions to this project.