Implement a number to word list converter as a Node backend and React/Redux fronted.
The backend should provide a rest endpoint that converts a given numeric string into a list of corresponding words in the style of T9 [https://en.wikipedia.org/wiki/T9_(predictive_text)] or Phonewords [https://en.wikipedia.org/wiki/Phoneword]. For example, given the input 23 the output should be: ad, ae, af, bd, be, bf, cd, ce, cf
The frontend should allow the user to enter a number, query the backend for the corresponding expansions, and display them.
Ways to go beyond the minimal solution could include for example:
- phone keyboard -like UI
- great project setup
- mobile app in React Native
- filtering to include only real words based on a suitable word list
- React Native (v0.32)
- Xcode 7.0 or higher
-
Clone project.
-
Install dependencies:
npm i && cd server && npm i
- Run server from
server
directory
cd server && npm start
- Run app in simulator (in project's root directory):
react-native run-ios
Or open ios/NumberToWord.xcodeproj
and hit "Run".
After installation of any node module, please call
gulp fix
stop package manager if running in terminal and call
watchman watch-del-all