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.
- 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.
- .NET 6.0 SDK
- Node.js (for Angular front-end, if applicable)
-
Clone the repository:
git clone cd HackerNewsApi