This project is a simple banking system that each user can open an account, delete it, withdraw, deposit, transfer money.
to see above chart just click on this link
note: keep in mind that there is lots of constraints that was defined in models and serializer and the main code to make suer it works as expcted.
to run this project you need to have docker
and docker-compose
installed, then type below command in the terminal
docker-compose up
if you like to apply tests, then type below command
docker-compose run web sh -c "cd app && python manage.py test && flake8"
to load data from fixtures
type below commands in order
docker-compose run web sh -c "cd app && ./manage.py loaddata fixtures/users"
docker-compose run web sh -c "cd app && ./manage.py loaddata fixtures/bank"
docker-compose run web sh -c "cd app && ./manage.py loaddata fixtures/branches"
docker-compose run web sh -c "cd app && ./manage.py loaddata fixtures/accounts"
docker-compose run web sh -c "cd app && ./manage.py loaddata fixtures/transactionss"
to see admin panel browse localhost:8000/admin
url, then you can create supeuser
to see added data
to see API documentation lookup http://localhost:8000/swagger/
url