[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 575 Bytes

README.md

File metadata and controls

29 lines (27 loc) · 575 Bytes

ProcessPayment API

Before running the app assuming that python 3.7.xx is installed on development machine

  1. Create virtual enviroment with python3.7.xx
$ python3.7 -m venv envname
  1. Activate the virtual enviroment
$ source envname/bin/activate
  1. Install requisite packages:
$ sh scripts/install_requirements.sh
  1. Run flask API:
$ python app.py
  1. Url:
http://0.0.0.0:5051/api/v1/process-payment/ (post)
  1. In order to Run tests:
$ python -m pytest -vv
  1. Post-man collection under extras folder