Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
charsleft_widget
config
docs
save4life-api
save4life
sideloader
ussd
.coveragerc
.deploy.yaml
.gitignore
.travis.yml
Dockerfile
LICENSE
MANIFEST.in
README.md
VERSION
manage.py
requirements-dev.txt
requirements.txt
setup.cfg
setup.py

README.md

Save4Life API and admin interface

This API provides the back-end for the Save4Life USSD interface. It also include a admin interface that can be used to create quizzes, generate vouchers and see other information related to users and transactions.

If you are looking to setup the whole Save4Life application, please see documentation here

Running the API

Docker image

The Dockerfile describe an image that can be used to run the API. To run the image, you need to link it to a running postgres, RabbitMQ and Junebug container.

You also need to pass it the following environment variables:

  • DATABASE_URL
  • BROKER_URL
  • JUNEBUG_SMS_URL
  • AIRTIME_WSDL_URL
  • AIRTIME_TERMINAL_NUMBER
  • AIRTIME_MSISDN
  • AIRTIME_PIN

You can build the image using the Dockerfile, or you can get the latest image from the Docker Hub

You can’t perform that action at this time.