π Welcome to our Django-based E-commerce application! This project combines the power of Python, Django, HTML, CSS, and JavaScript to create a robust online shopping experience. We've also integrated PayPal as the payment gateway for secure and convenient transactions.
β¨ User Authentication: Users can sign up, log in, and manage their profiles, ensuring a personalized shopping experience.
π Product Management: Easily add, update, and delete products from the admin panel. Each product comes with detailed information, including price, description, and images.
ποΈ Shopping Cart: Users can add products to their cart, review items, and proceed to checkout for a seamless shopping process.
π³ PayPal Integration: Securely process payments using PayPal, a trusted and widely used payment gateway.
π Ajax for Dynamic Updates: Experience real-time updates without page refreshes. Ajax is implemented for smooth interaction and improved user experience.
π¦ Order Tracking: Users can track their orders and view order history.
π Security: The application prioritizes user data security, utilizing Django's built-in security features.
Ensure you have the following installed:
- Python (version x.x)
- Django (version 4.2.6)
- Virtualenv
-
Clone the repository:
git clone https://github.com/yourusername/your-repo.git
-
Create a virtual environment:
virtualenv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install dependencies:
pip install -r requirements.txt
-
Apply database migrations:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
Open your browser and go to http://localhost:8000 to view the application.
-
Set up your PayPal credentials in
settings.py:PAYPAL_CLIENT_ID = 'your_paypal_client_id' PAYPAL_SECRET_KEY = 'your_paypal_secret_key'
-
Customize other settings as needed.
-
Visit the admin panel at http://localhost:8000/admin to manage products, users, and orders.
-
Explore the website, add products to your cart, and proceed through the checkout process to test the PayPal integration.
We welcome contributions! Please fork the repository and create a pull request with your improvements.
π Happy coding and happy selling! ποΈ