This notional exercise implements a basic REST service which returns all anagrams of a given word based on an internal word dictionary. At least, that's what it's supposed to do. Continue reading for more details.
> ./gradlew build
- install dependencies> ./gradlew test
- run unit tests> ./gradlew run --args dictionary.txt
- run the server
After starting the server, the REST endpoint can be invoked using http://localhost:8090/anagram?term=WORD where WORD is the term to find anagrams for. The response should be a JSON payload containing a string array of all matching anagrams.
The project was abandoned before it could be completed. It currently has the following issues:
- The included unit test fails
- The endpoint doesn't return correct results