This assumes you have docker installed.
Run these commands below in your terminal in the directory where Dockerfile
and docker-compose.yml
can be found.
cd flite
# rename .env.example to .env
mv env.example .env
source .env
docker-compose up
https://www.getpostman.com/collections/1a1049d53dd560f75aff
https://documenter.getpostman.com/view/10026788/TzeTKA1Y
sudo docker-compose run django python manage.py test
- Balance model are used as accounts
- Debit and credit transactions in a p2p transfer have a common transaction reference number. Differentiating values are (transaction_type(debit, credit), user)