This is a simple e-commerce platform designed for Pharmacy products built using Streamlit and MySQL. It allows users to add, view, and delete products, and manage a shopping cart. The platform includes functionalities for administrators to manage products and categories, and for customers to view and add products to their cart.
- Requirements
- Installation
- Usage
- Project Structure
- Contributing
This project requires the following:
- Python 3.6 or higher
- MySQL Server
-
Clone the repository:
git clone [https://github.com/vam28/PharmacyManagementSystem.git] cd PharmacyManagementSystem -
Set up the MySQL database:
-
Run the Streamlit app:
streamlit run main.py
-
Navigate to the local server (usually
http://localhost:8501) in your web browser. -
Use the interface to add, view, and delete products, and manage the shopping cart.
main.py: The main Streamlit application file.home.py: Contains functions for customers to add, view, and delete products, and manage the shopping cart.managestock.py: Contains functions for admin to manage products and categories.database.sql: SQL script to set up the database schema.
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.