shrhawk-entertainer / zam_studio_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Python 99.5%Language:Shell 0.5%