This project provides a Stock Management System, enabling users to perform CRUD operations on stock items.
-
appStockSqk.py: This script contains all the main application's functions.
- add: Adds new products to the stock.
- update: Updates existing products in the stock.
- delete: Removes products from the stock.
- read: Retrieves all products currently in the stock.
-
connectionSql.py: Establishes the connection between Python and SQL Server.
-
flaskIntegration.py: Makes the integration between Backend and Frontend.
-
createDatabase: Create the database and tables for the stock.
- Python
- SQL Server
- Required Python packages: pypyodbc, flask, render_template, request
To use this repository, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/RobisonTorres/ProjectsPython.git
-
Open and execute the createDatabase.sql on your SQL Server.
-
Install required Python packages.
-
Navigate to the directory.
cd ProjectsPython/StockManagementSql.
-
Execute the flaskIntegration.py.
After running the flaskIntegration.py, and clicking on the url link you will be able to access the app's menu on your browser: