Skip to content

pete-coleman/hacker-news-tech-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HackerNews Tech Test

A simple REST API built with .NET 8 that gets the top n "best" stories from the Hacker News API and returns some metadata about those stories.

Running the application

git clone https://github.com/pete-coleman/hacker-news-tech-test.git

cd .\hacker-news-tech-test\NewsAggregator\NewsAggregator

dotnet run

You can then access the application:

Next Steps

This is intentionally a very basic implementation, it contains rudimentary caching, exception handling and logging with some simple configuration. It meets the requirements given without being overdeveloped, changes in scope for this "project" would have minimal impact at this stage. That being said there are some areas that could be addressed:

  • There are currently no unit tests or automated tests of any kind. The logic present is minimal but some integration tests would be very useful.
  • There is no authentication whatsoever, it isn't a requirement but it should certainly be a consideration in the future.
  • Moving to a distributed cache would mean our caching can be persisted even if the API goes down or is restarted for whatever reason.

Improvements to the exception handling, logging and configuration would be expected as the application develops.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages