/RssWordCounter

Count the one hundred most common words in a rss feed.

Primary LanguageKotlin

Rss word counter

Description

This programs exposes the endpoint "rssfeed/onehundredmostcommonwords", it is used by sending a JSON request containg the key rssLink and provide an URL to the rss xml feed.

For example sending a post request with the following json object.

{
	"rssLink": "http://www1.cbn.com/app_feeds/rss/news/rss.php?section=world"
}

Run the server

Import the project as a gradle project into jetbrains intellij. Congifure an "Application" with the main method "com.RssWordCounter.RssWordCounterApplicationKt" and the classpath of module "com.RssWordCounter.main" and click run.

Run the tests

In intellij configure an junit with the class "com.RssWordCounter.RssWordCounterControllerTest" and classpath "com.RssWordCounter.test" and click run.