- change
CRYPTO_PROVIDER_API_KEY
value in web-variables.env file you can get it for free from this link :https://www.alphavantage.co/support/#api-key
-
Run command
docker-compose up --build
-
Access the web instance shell using command
docker-compose exec web bash
- crate super user using command
python manage createsuperuser
- crate super user using command
-
After creating the super user navigate to http://0.0.0.0:8000/admin/ and create api key
Note: the api key will be shown in the message at the header after creating the api model
- [GET] api/v1/quota/
- return by default list of btc/usd exchange rates ordered by creation date
- the last price will be the first item in the list
- [POST] api/v1/quota/
- force to fetch latest quota and return by default list of btc/usd exchange rates ordered by creation date
- Making the quota api dynamic to accept currency pairs
- Create encrypted secret file to save sensitive data using git-secret