https://github.com/johnament/natural-language-number-translator
https://github.com/johnament/natural-language-number-translator
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/johnament/natural-language-number-translator
- Owner: johnament
- Created: 2016-12-02T00:34:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-02T02:47:29.000Z (over 9 years ago)
- Last Synced: 2025-01-07T13:14:25.246Z (over 1 year ago)
- Language: Java
- Size: 18.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What's this?
A simple demo of using Spark Java to power a backend API for parsing input numbers as human readable text
# How to build
Run `mvn clean install` from the root director. It will run unit and integration tests
# How to run
After building, there will be a capsule JAR in `target` which you can run using `java -jar target/numbers-capsule.jar`
## APIs
You can see an overview of routes at [http://localhost:4567/debug/routeoverview/](http://localhost:4567/debug/routeoverview/)
You can invoke the number translator service at [http://localhost:4567/numbers/en](http://localhost:4567/numbers/en) passing in a query param `number`
## UI
The UI can be accessed [here](http://localhost:4567/)