Ruby project to return anagrams of words into the path to return a JSON object of matches
e.g. http://myapp.com/stop,start
- Ruby installed (built with 2.1.5)
- PostgreSQL 9.3.5 (server running)
- run the following commands
- $
git clone https://github.com/CeeBeeUK/cb-anagram.git
- $
cd cb-anagram
- $
bundle install
- $
rake configure:initial
- run $
rails s
to start the webserver - open http://localhost:3000/ and start entering words
This was implemented using the *nix word list (/usr/dict/words
) to allow portability and remove reliance
on a web based word list service, this reduced the number of words available, but increased reliability.