This application fetches and displays the top stories from the Hacker News API, allowing users to stay updated with the latest tech news.
- Fetches the latest top stories from Hacker News (up to 500 stories)
- Displays story titles, authors, and scores
- Sorts stories by score in descending order using LINQ
- Easy to use and visually appealing interface
- Error handling for network and data issues
- .NET MAUI for cross-platform app development
- Firebase for real-time data storage and retrieval
- CommunityToolkit.Mvvm for MVVM architecture
- Newtonsoft.Json for JSON serialization and deserialization
- Microsoft.Extensions.Logging for logging errors and important information
- System.Linq.Async for asynchronous LINQ operations on
IAsyncEnumerable
- IAsyncEnumerable for improved performance when fetching top stories from the Hacker News API
To get started with the Hacker News App, follow these steps:
- Clone this repository:
git clone https://github.com/iNoles/HackerNews.git cd HackerNews
- Open the project in your preferred IDE (e.g., Visual Studio).
- Restore the NuGet packages:
dotnet restore
- Build the project:
dotnet build
- Run the application:
dotnet run
- Launch the application.
- The app will automatically fetch the top stories from Hacker News.
- View the stories in a sorted list, with the ability to refresh the list to get the latest stories.
Contributions are what make the open-source community such an amazing place to be, learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the project.
- Create your feature branch (e.g.,
git checkout -b feature/AmazingFeature
). - Commit your changes (e.g.,
git commit -m 'Add some AmazingFeature'
). - Push to the branch (e.g.,
git push origin feature/AmazingFeature
).