raspberry pi database that connects and tracks items entered useing a barcode scanner
View the Project on GitHub wisehackermonkey/barcode-item-tracker
raspberry pi database that connects and tracks items entered useing a barcode scanner
by oran collins
github.com/wisehackermonkey
oranbusiness@gmail.com
20200622
![]()
git clone https://github.com/wisehackermonkey/barcode-item-tracker.git
cd barcode-item-tracker
pip3 install -r requirements.txt
python3 main.py
python3 server.py
nodemon --exec python3 main.py
nodemon --watch server/db --exec python server.py
pip freeze | grep flask >> requirements.txt
export FLASK_APP=server.py
export FLASK_ENV=development
python -m flask run
flask run --host=0.0.0.0
npm install -g nodemon
nodemon --watch server/db --exec python server.py
nodemon --exec python3 main.py
![]()
{
"category": "",
"ASIN": "",
"stores": null,
"description": "MORTON SALT COMPANY 26 oz Morton Salt, Iodized",
"success": true,
"title": "",
"mpn": "",
"timestamp": 1592889515,
"brand": "",
"barcode": "0024600010030",
"modified_time": "2020-03-17 14:59:12",
"alias": "",
"images": null,
"added_time": "2012-01-09 19:51:06",
"metadata": {
"color": "",
"gender": "",
"age": "",
"msrp": "0.00",
"unit": "",
"size": ""
},
"msrp": "0.00",
"manufacturer": ""
}
description string
images string url
success bool
![]()
![]()
![]()
![]()
add barcode and product name into json database
add results to json database