Skip to content

trig/exchangerates

Repository files navigation

exchangerates

demo project that simply fetches two currency exchange providers and display that info on web page. I've picked Laravel PHP framework for backend and Twitter Bootstrap for frontend

  1. All currency exchange providers implementing ExchangeRateProvider interface
  2. Implemented CBRFExchangeRatesProvider of Central Bank of Russia
  3. Implemented YahooFinanceExchangeRatesProvider of Yahoo Finance
  4. Currency rates fetched from server via AJAX calls with autoupdate each 60 seconds
  5. UI logic was built using jQuery
  6. All assets (css and js) are built using Gulp
  7. Each 5 minutes there is task running on server which fetches new data from above providers and saves it in mysql db
  8. Also implemented WebSocket server on top of Ratchet that simply resends message to all connected clients.
  9. Server notifies clients via WebSocketClient which is written on top of Pawl

You can see live demo here

About

demo project

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages