Skip to content

sherry9872/HackerNewsApi

Repository files navigation

Hacker News API

Overview

This project is a .NET 6.0 application that provides an API for retrieving the latest stories from the Hacker News API. It includes caching, exception handling, and automated tests with a focus on high code coverage.

Features

  • Fetch Latest Stories: Retrieves the latest 200 stories from Hacker News.
  • Get Story Details: Fetches details of a story by ID.
  • Caching: Caches the latest stories for performance optimization.
  • Swagger: Provides a UI to test the API endpoints.
  • Exception Handling: Gracefully handles errors and provides meaningful error messages.
  • Automated Tests: Includes automated tests with a minimum of 90% code coverage.

Getting Started

Prerequisites

Running the Application

  1. Clone the repository:

    git clone 
    cd HackerNewsApi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages