Small exchange app that gets actual rates from https://ratesapi.io
$ yarn
$ yarn run dev
$ open http://0.0.0.0:3000
$ yarn run build
$ yarn start
$ open http://0.0.0.0:3000
name | default | description |
---|---|---|
NODE_ENV |
โ | Used switching between production , development and test mode |
NODE_DEBUG |
โ | Debug logs scope (to show all app logs set NODE_DEBUG=exchange-widget:* ) |
HOST |
0.0.0.0 |
Server host |
PORT |
3000 |
Server port |
SITE_URL |
http://${HOST}:${PORT} |
Site public url (used for api and socket in server and client) |
RATES_API_URL |
https://ratesapi.io |
Url to exchange rates api provider |
Set window.localStorage.debug = 'exchange-widget:*'
in browser console.
exchange-widget:*
- all logsexchange-widget:store
- redux store actionsexchange-widget:service
- server apiexchange-widget:component:exchange-view
-ExchangeView
component logs
More info in logdown.js
docs.
MIT ยฉ John Grishin