This is a Store Management System web application built using Python Flask, JavaScript, and SQL database.
Prachi's Store Management System is a web-based application that enables store owners or managers to efficiently manage their store's inventory, track orders, and perform various administrative tasks. The application provides an intuitive user interface for easy navigation and interaction.
The backend of Prachi's Store Management Software is built using the Flask framework in Python. It interfaces with a MySQL database to manage products and orders for a store.
- server.py: Initializes and runs the Flask server, defining various endpoints for API interactions.
- manage_functions.py: Contains functions for product and order management.
- sql_connect.py: Manages the connection to the MySQL database.
- GET
/getProducts: Fetches all products. - POST
/insertProduct: Inserts a new product. - POST
/deleteProduct: Deletes a product. - GET & POST
/getAllOrders: Retrieves all orders. - POST
/insertOrder: Inserts a new order. - GET & POST
/orderDetails: Retrieves details of a specific order. - GET
/getUOM: Retrieves units of measurement.
-
Products:
get_all_products(): Fetches all products.insert_new_product(): Inserts a new product.delete_product(): Deletes a product based on its ID.update_a_product(): Updates a product's details.
-
Orders:
insert_order(): Inserts a new order.get_all_order_details(): Retrieves detailed information about all orders.get_order_details(): Fetches details of a specific order.get_all_orders(): Retrieves a list of all orders.
-
Utility:
get_uoms(): Retrieves a list of units of measurement.
The frontend of Prachi's Store Management Software is built using HTML, CSS, and JavaScript. The main components include:
- index.html: The main landing or homepage of the web app.
- order.html: A page dedicated to handling and viewing orders.
- order_details.html: Provides detailed information about a specific order.
- manage-product.html: A page for managing products, allowing for CRUD operations.
- images: Contains image assets used in the web app.
- js: Contains JavaScript files that provide interactivity and dynamic functionalities for the web app.
- css: Contains stylesheets to define the look and feel of the web app.
- Clone the repository: git clone https://github.com/iprachigoyal/store_management.git
- Navigate to the project directory
- Install the required dependencies: pip install -r requirements.txt
- Set up the SQL database. EER Diagram is attached to understand the type of database
- Run the application, server.py
- Access the web application in your browser: (use path of ./grocery_app/ui/index.html as browser url)
This app is made by Prachi Goyal in 2023.