username: admin
password: admin
username: sanin
password: qaz123#QAZ
username: user1
password: qaz123#QAZ
- ItemModel : For product details
- CartItem : For each cart-items
=> GET method for product list https://disectoo.herokuapp.com/store/
=> POST method for admin to create new product https://disectoo.herokuapp.com/store/create-item
=> PUT, DELETE and GET methods for admin to update database https://disectoo.herokuapp.com/store/item/<:slug>
=> GET method for showing cart-items for current user https://disectoo.herokuapp.com/cart/
=> GET, DELETE and PUT methods for updating cart https://disectoo.herokuapp.com/cart/update/<:id>
=> GET method for displaying a pdf invoice of the current cart-items https://disectoo.herokuapp.com/cart/invoice
=> GET method for expired product list https://disectoo.herokuapp.com/store/expired-items
- Only admin can create, Update, Delete product
- Users can only get update and delete thier own cart-items
- Django Rest Framework : https://www.django-rest-framework.org/
- Django : https://docs.djangoproject.com/en/4.0/
- Cron Job : https://pypi.org/project/python-crontab/
- Heroku Hosting : https://www.youtube.com/watch?v=kBwhtEIXGII