Skip to content

User can transfer balance now or later in bulk. After every successful transfer a transaction history will be created for both the accounts. Cash transaction(withdrawal or deposit) option is also available. In case of transfer failure no transaction history will be created and source account's balance will be adjusted.

License

Notifications You must be signed in to change notification settings

omariut/Schedule-Balance-Transfer-API

Repository files navigation

Overview

Users can transfer the balance now or later in bulk. After every successful transfer, a transaction history will be created for both accounts. A cash transaction(withdrawal or deposit) option is also available. In case of transfer failure, no transaction history will be made and the source account's balance will be adjusted.

Features:

  • Account Creation
  • Instant Balance Transfer
  • Scheduled Balance Transfer
  • Multiple transfers in a single request
  • Cash Transaction (deposit or withdrawal)
  • Multiple cash transaction in a single request
  • Transaction History of every transaction takes place in database
  • Unit Test included

How to run

preparing django server

git clone [email protected]:omariut/Schedule-Balance-Transfer-API.git
cd Schedule-Balance-Transfer-API
virtualenv venv
pip install requirements.txt
python manage.py makemigration
python manage.py migrate
python manage.py runserver

prepearing celery

run the below commands in two different terminals

celery -A balance_transfer worker -l info
celery -A balance_transfer beat -l info

install redis server

https://redis.io/download/

run redis server

redis-server

Documentation:

About

User can transfer balance now or later in bulk. After every successful transfer a transaction history will be created for both the accounts. Cash transaction(withdrawal or deposit) option is also available. In case of transfer failure no transaction history will be created and source account's balance will be adjusted.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published