Skip to content

pavinthan/converter-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google-like values converter.

Support for different types of conversions, for examples:

  • 1 kilometer -> meters
  • 1 dollar -> THB
  • 1 kilogram -> meters
  • ...

Usage

docker build -t pavinthan/converter .

Start web server

docker run -p 8080:8080 pavinthan/converter

You can parse unit, from and to values as query params eg: localhost:8080?unit=1&from=kilometer&to=meter

Execute from CLI

docker run pavinthan/converter [UNIT] [FROM] [TO]

eg: docker run pavinthan/converter 1 kilometer meter

About

Google-like values converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published