This is a RESTful API that provides news articles from RSS feeds.
- Fetch articles by the combination of news provider and news category
- In-memory caching powered by Redis
- Timeout configurable as
spring.data.redis.storage-timeout
(seconds)
- Timeout configurable as
nyt
technology
- Add news providers and news categories
- Aggregate results across providers based on category
- Rename
application.yml.example
toapplication.yml
insrc/main/resources/
- Update
application.yml
to configure your redis cache
For development, run ./gradlew bootRun
- http://
host
:port
/api/articles
provider
- Default value is
nyt
- Default value is
category
- Default value is
technology
- Default value is
Run ./gradlew test