/devskillsback

API REST - Service Provider Tax

Primary LanguagePythonMIT LicenseMIT

Tax Service Provider TSP

API REST

Description

Tax payment company has two very important functions: Enable service provider companies to upload bills ("create-tax"). To effect the payment of a tax ("pay-tax").

Installing

After cloning, create a virtual environment and install the requirements

$ virtualenv flaskapi
$ source flaskapi/bin/activate
$ cd /api
(flaskapi) $ pip3 install -r requirements.txt
  • Create database
Flask db_create
  • Delete database
Flask db_drop
  • Insert default values to DB
Flask db_seed

Getting Started

Step 1: Run the service api in /api

flask run

Step 2: Add Vouchers alt text

Step 2: Add Payments alt text

Step 2: List Vouchers alt text

Step 2: List Payments alt text

Stack

  • Flask - Lightweight WSGI web application framework
  • Python - Programming language
  • Pip3 - Package and dependency manager
  • SQLite - Database