- used signed cookie based session (httponly cookie)
- Custom Permissions for different user-types
- django-axes to limit the unauthorized attempts
- Multiple methods for log-in:
- Google account login / OAuth Authentication
- SMS login / Two-Factor Authentication
- Basic Authentication / Password Based Autehnication / Single-Facctor Authentication
- Multiple methods for Password reset
- E-mail send using sendgrid
- OTP send using twilio
-
cloudinary storages is used to store images
- Users can upload profile image
- Seller can upload maximum of 3 images for their product
Admin can only published a text-type blog using ckeditor.
- Books: Restriction: Seller can add only one book of each format-type
- Monitor: Seller can add any number of Monitor type product
- httponly cookie based sessions is used to display user browsing history. Only 5 to 7 products will be displayed.
- The items in the cart are stored in both database and cookie. Cart items are retrieve from the cookie, if cookie is present in the browser. Otherwise, cart items are retrieved from database
- User can add any number of items in cart, unless cookie size is less than 4Kb
- Many cart are linked to one user
- Stripe API is used to handle the payment.
- User can get a Partial or Full refund for a product
- User can view the Refund status in their profiles
-
Content Security Policy (CSP): Implemented using django_csp
-
Compression Headers: Enabled Gzip/Brotli compression using django-compression-middleware
-
SEO Enhancements: Added robots.txt and sitemap.xml for the Monitors model
-
ETag Header: Available only for the homepage
- One User can Create, Update, Delete and Read many Resume / CV Reference : GitHub Repo
python version : 3.11
- python -m pip install -r requirements.txt
- python manage.py flush
- python manage.py reset_db
- python manage.py clean_pyc
- python delete_migrations.py
- python manage.py makemigrations
- python manage.py migrate
- python manage.py product_category
- python manage.py computersubcategory
- python manage.py Special_Features
Recommended Credentials to checkout all features of E-Commerce:
email:osama.aslam.86004@gmail.com password: testpass5