Skip to content

Backend code of a simple web app for currency exchange.

License

Notifications You must be signed in to change notification settings

beta/exchange-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exchange-php

Backend code of a simple web app for currency exchange. The base currency is CNY.

Exchange rates are all retrived from ECB via Fixer.io.

APIs

  • GET / returns all the currencies that can be exchanged into CNY.
  • GET /$currency/$amount returns the equivalent amount in CNY exchanged from the given currency. For example GET /JPY/100.

Installation

git clone https://github.com/beta/exchange-php.git exchange
cd exchange
composer install

Credits

License

Open-sourced under the MIT License.

About

Backend code of a simple web app for currency exchange.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published