Simple web application on Django which allows to:
- register a client wallet with specified currency
- fill up a wallet
- transfer assets to other wallets
- update currency exchange rate (based on USD)
- get report about log of transfers of a wallet (with optional CSV export) in specified period
- pull the code from git:
git clone https://github.com/acriptis/django_simple_payment_system django_simple_payment_system
- Create a virtual environment and launch it:
virtualenv -p python3 .venv
source .venv/bin/activate
-
cd to project root directory of the project
-
Install requirements:
pip install -r requirements.txt
- Initialise Database:
python manage.py migrate
- Load fixtures with sample data (Admin User/Exchenage Rates/Wallets/Users/Transactions):
python manage.py loaddata wallets/fixtures/initial_dump.json
6.Now you can start a test server:
python manage.py runserver
- Enjoy:
http://127.0.0.1:8000/wallets/
https://github.com/django-money/django-money
https://github.com/fusionbox/dinero
https://medium.com/coinmonks/step-by-step-guide-to-programming-your-own-bitcoin-wallet-9d38942c8ae0
https://github.com/SmileyChris/django-countries
Draw io diagram: