Giter Club home page Giter Club logo

django_simple_payment_system's Introduction

Simple Payment System

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

How to install

  1. pull the code from git:

git clone https://github.com/acriptis/django_simple_payment_system django_simple_payment_system

  1. Create a virtual environment and launch it:

virtualenv -p python3 .venv

source .venv/bin/activate

  1. cd to project root directory of the project

  2. Install requirements:

pip install -r requirements.txt

  1. Initialise Database:

python manage.py migrate

  1. 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

  1. Enjoy:

http://127.0.0.1:8000/wallets/

http://127.0.0.1:8000/admin/

Links to useful resources in topic:

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:

https://www.draw.io/#G1_rKKi_I-x_WOHOofHNdqmYX3uJLNEe3E

django_simple_payment_system's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.