Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alichherawalla/roman-to-arabic-numerals
Dockerized Node.js microservice providing a REST API to convert Roman numerals to Arabic numerals
https://github.com/alichherawalla/roman-to-arabic-numerals
babel chai docker dockerfi es6 mocha node nodejs rest rest-api server testing
Last synced: 13 days ago
JSON representation
Dockerized Node.js microservice providing a REST API to convert Roman numerals to Arabic numerals
- Host: GitHub
- URL: https://github.com/alichherawalla/roman-to-arabic-numerals
- Owner: alichherawalla
- License: mit
- Created: 2019-06-10T20:08:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:51:14.000Z (about 2 years ago)
- Last Synced: 2023-03-02T15:37:23.107Z (almost 2 years ago)
- Topics: babel, chai, docker, dockerfi, es6, mocha, node, nodejs, rest, rest-api, server, testing
- Language: JavaScript
- Homepage:
- Size: 643 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# roman-to-arabic-numerals
Convert roman numerals to arabic numerals**Install dependencies**
`yarn`
**Run tests**
`yarn test`
**Run the server**
`yarn start`
**Build docker image**
`docker build -t roman-to-arabic .`
**Run docker container**
`docker run -p 3000:3000 roman-to-arabic`
**Build and run docker container**
`bash docker-build-and-run.sh`
**cURL to convert roman to arabic numerals**
`curl -X GET 'http://localhost:3000/api/convert-to-arabic?roman=XXXI'`