Project containing Java resources for MAIN recruitment
The business would like to perform some analytics on the news articles a users views over the course of a month. One of our developers started work on a RESTful service, but they are off on annual leave for a few weeks.
Your task is to pick up their work and finish the service.
- This project requires Java 17 to run
- This project uses Maven for dependency management
- Set JAVA__HOME, some builds fail without this setting
-
Clone the repository
-
build the code
-
Fix the broken test in ArticleControllerTest
-
Complete the test shouldReturnMostSharedArticleForUserForCategorySport by implementing a new feature to get the most shared article by category See createRequestData on how the test data is setup for assertions
Treat this like your own project, if there are any code smells or things that can be improved call them out