Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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'`