Pharma Inventory Management Tool - By Saksham Goyal (Backend and UI)
Technology Used:
- Python - Backend development
- Flask - RESTful APIS and UI framework
- XAMPP - MySQL Database, Apache Web Server
- mySQL - Querying the database
API Information
- '/' : To upload CSV file and index data to the database
- '/getStockForSupplier/' : To query the database based on certain parameters
Query parameters:
- 'supplier' : To filter based on a single or list of suppliers
- 'searchParam' : To enter search phrase for filtering the data based on product names
- 'expiryFlag' : Set this to True to get only unexpired products
- 'page' : To set the page number for pagination
Example End Point Usage: http://127.0.0.1:5000/getStockForSupplier?supplier=product_name_1,product_name_2&searchParam=dolo&expiryFlag=True&page=2