A Medical Store Management System that allows users to register, log in, view, buy, add, update, and delete medicines. It includes an admin panel for managing the medicines, and a user panel for purchasing them. Additionally, the system supports a discount feature for users and handles zero stock medicines automatically.
- User Registration and Login: Users can create accounts, log in, and view their medicine purchase history.
- Admin Panel: Admins can add, update, delete, and view medicines.
- Medicine Management: Add new medicines, update existing ones, and remove out-of-stock medicines.
- Medicine Purchase: Users can view available medicines, add them to their cart, and proceed with the purchase.
- Discount Code: Users can apply a valid discount code to get a discount on their total purchase.
- Purchase Ticket: A ticket is generated displaying the items purchased along with their total cost.
- Python
- MySQL Database
bcrypt
for password hashingmysql-connector-python
for MySQL database connectiondatetime
for managing expiry dates and current date validation
- Clone this repository:
git clone https://github.com/yourusername/medical-store-management.git cd medical-store-management