Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (23 loc) · 735 Bytes

readme.md

File metadata and controls

28 lines (23 loc) · 735 Bytes

Allô

git clone https://github.com/millette/woo.git
cd woo
yarn
# Replace [openexchangerates-app-id] with your app-id, see below
echo "APP_ID=[openexchangerates-app-id]" > .env
echo "DB_URL=http://localhost:5984/markets" >> .env
yarn start

Requirements

Open Exchange Rates

You'll need to register for a free account at https://openexchangerates.org/signup/free to get 1000 queries per month. This script does a query every hour (24 hours x 31 days) so a max of 744 queries a month.

CouchDB

If you're CouchDB is not available on localhost:5984 per usual, or you want to use another database name, you can edit .env and set DB_URL to another value, such as:

DB_URL=http://localhost:5993/markets