This is a Django-based program that helps you keep track of product expiry dates.
The program allows you to:
- Add products
- Edit product information
- Delete products
- Search for products based on product name and manufacturer name
- Receive email notifications when a product is about to expire
- Clone the repository in an empty directory.
- On Windows run
setup\setup.bat
, on Unixsetup/setup.sh
in the terminal. - Fill in the required data for the .env file created.
- Run the server using
python manage.py runserver
. - Visit http://localhost:8000/ in your browser.
- Click on the "Add a Product" button on the home page.
- Enter the product information.
- Click the "Save" button.
- Click on the product name on the home page.
- Click on the "Edit" button.
- Edit the product information. Click the "Save" button.
- Click on the product name on the home page.
- Click on the "Delete" button.
- Confirm the deletion.
- Enter the search query in the search box on the home page.
- Click the "Search" button.
- Set up email settings in the Django settings file.
- The program will automatically send email notifications to the email address specified in the settings.py file when a product is about to expire.