Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 768 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 768 Bytes

Flite

SET UP APP WITH DOCKER

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

Documentation

Collection

https://www.getpostman.com/collections/1a1049d53dd560f75aff

API Endpoints & Responses

https://documenter.getpostman.com/view/10026788/TzeTKA1Y

Test

sudo docker-compose run django python manage.py test

Assumptions

  • 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)