This is an E-commerce project created using Django 4.1.4 and Python 3.8. The database used is a PostgreSQL hosted on AWS, and the website is hosted on EC2 instance on AWS.
You can access the E-commerce webpage here -> https://ecommerce.alanmf.com
This repository is for learning purposes and none of the products created within the page are real.
This project was created within the course Python 3 - Do Básico Ao Avançado (Completo), and according to Luiz Otávio's Repository. Some functionalities and templates were added later to implement the E-commerce functionality and design, making it more complete.
You are allowed to download, copy and use the contents of this repository under the MIT license.
PROJECT UNDER DEVELOPMENT.
Below is a list of features I haven't added yet, that are pending to be added.
- Discount coupons in the shopping cart
- Payment methods (Visa, Mastercard, PayPal, etc...)
- Wishlist
Below is a list of what was added along with the course, although the entire HTML and CSS has been restructured.
- Product Model
- Variation Model
- List and details for products and variations
- Shopping Cart based on sessions
- Remove products from cart
- Profile Model (create and update)
- User Login and Logout
- Register user order
- Payment and checkout page
Below is a list of what was added after the course, based on various E-commerce demands.
- Image Model (for multiple images on each product)
- Combinations of Product Variations (one product can have multiple variations)
- Unique CPF Validator
- Address Model (create and update)
- Address validator (Brazil Addresses only) using
pycep_correios
API - Shipping calculator based on selected address
- Multiple addresses per profile
- Order details and tracking
- JS scripts to increase response time for some features (calculate shipping price, validate address, stock alert, order tracking, etc...)
- Forgot password recover by email
In this folder is located some python code for implemented features.
- Shipping calculator
- Address generator
- CPF validator
git clone https://github.com/VenPoisen/project-Ecommerce-Django.git
Create a virtual enviroment and activate it
py -m venv venv
./venv/Scripts/activate
Install the requirements
pip install -r requirements.txt
IMPORTANT:
- Create a .env file on the root and copy/change the values from .env-example, remove the quotes("") and the spaces before/after equal sign(=)
Finally migrate and runserver
python manage.py migrate
python manage.py runserver
That's it!