Sign inSign up

voxbox/t2-airtime

By voxbox

•Updated about 9 years ago

TransferTo Airtime API Demo Application

Image
0

1.4K

voxbox/t2-airtime repository overview

⁠Docker T2-Airtime Demo

This image allows you to run a proxy server to the Transfer-To⁠ Airtime service using the T2-Airtime⁠ gem.

⁠Requirements

Docker CE⁠ installed on your local or development machine.

⁠Setup Transfer-To credentials
  1. Make sure you are a registered user of Transfer-To⁠.
  2. Enable Two Factor Authentication (2FA) in your Transfer-To Shop⁠ Security Center section
  3. Retrieve API key (token) created by Transfer-To Shop.
  4. Export your secrets as an environment variables:
export T2_SHOP_USER=<your_username>
export T2_AIRTIME_KEY=<your_token>
  1. Export the host allowed to access the API (CORS):
export CORS_ORIGIN=<your_frontend_address>
  1. Run:
docker run -d \
  --name t2_airtime \
  -p 3000:3000 \
  -e T2_SHOP_USER \
  -e T2_AIRTIME_KEY \
  -e CORS_ORIGIN \
  voxbox/t2_airtime
docker logs t2_airtime -f  

⁠License

The container is available as open source under the terms of the MIT License⁠.

Tag summary

Content type

Image

Digest

Size

82.2 MB

Last updated

about 9 years ago

docker pull voxbox/t2-airtime