Skip to content

A .NET MAUI app for displaying the top posts on Hacker News that demonstrates Firebase Realtime Database

License

Notifications You must be signed in to change notification settings

iNoles/HackerNews

Repository files navigation

Hacker News App

This application fetches and displays the top stories from the Hacker News API, allowing users to stay updated with the latest tech news.

Features

  • 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

Technologies Used

Installation

To get started with the Hacker News App, follow these steps:

  1. Clone this repository:
    git clone https://github.com/iNoles/HackerNews.git
    cd HackerNews
  2. Open the project in your preferred IDE (e.g., Visual Studio).
  3. Restore the NuGet packages:
    dotnet restore
  4. Build the project:
    dotnet build
  5. Run the application:
    dotnet run

Usage

  1. Launch the application.
  2. The app will automatically fetch the top stories from Hacker News.
  3. View the stories in a sorted list, with the ability to refresh the list to get the latest stories.

Screenshots

Hacker News App Desktop

Contributing

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).

About

A .NET MAUI app for displaying the top posts on Hacker News that demonstrates Firebase Realtime Database

Topics

Resources

License

Stars

Watchers

Forks

Languages