A DBMS project on Textile Store Management using StreamLit-Python for the frontend app and a mysql
database
A DBMS mini project on Textile Store Management System where we use streamlit python for front-end and mysql database
as the backend. Apart from that we have multiple mysql queries based on :
- Joins, comprising natural, inner, outer, etc...
- Aggregation & Set operations
- Views
- Triggers & Cursors
- Procedures & Functions
- Install the latest version of
XAMPP
or any other mysql equivalent workspace - Download the project, or enter the following in terminal
if you have git installed
:-
git clone github.com/smsraj2001/TEXTILE-STORE-MANAGEMENT-DBMS.git
- Next switch on your xampp server and click on
phpMyAdmin
and click onNew
database and create it with any name.- Now click on your new database and on your right panel select
Import
option and upload the .sql file from the database folder available inTEXTILE-STORE-MANAGEMENT-DBMS
folder. - Your database will be loaded with all the pre-existing values, functions, procedures, triggers, views, cursors, etc...
- Enter your my-sql database connection details in the
secrets.toml
file available in the/.streamlit
directory inSRC-APP (Root-Directory)
. - For complete understanding of the database please refer to the
ER-Diagrams
uploaded which has both E-R diagram and Relational Schema - Now let's dive to the front end
- Now click on your new database and on your right panel select
- Before entering the front-end, (Python should be already installed) , install
streamlit
andplotly
by the following command :pip install streamlit
pip install plotly
- After this enter into the folder:
cd TEXTILE-STORE-MANAGEMENT-DBMS\SRC-APP
- Open a terminal here and run
steamlit run app.py
- Remember : In the
database.py
file , rename the database name to the name you had given initially in theDATABASE
instructions. - Hence, you have the entire project running successfully.
- For deeper understanding of the DBMS project, look into the
REPORT PDF
uploaded for visualizing the outputs for database and front-end.