A comprehensive e-commerce platform for Korean skincare products built with Django. Features include user authentication, product management, shopping cart, wishlist, advanced filtering by product type, skin type, and skin concern, sorting by prices, and secure checkout with Stripe integration.
- Django (Python web framework)
- HTML
- CSS
- Stripe API (for payment processing)
- SQLite (lightweight database for development)
- User Authentication: Implemented secure user registration and login functionality.
- Product Management: CRUD operations managed through Django admin.
- Shopping Cart: Developed a shopping cart feature that allows users to add, remove, and update items.
- Wishlist: Added functionality for users to save products to a wishlist for future reference.
- Filtering and Sorting: Implemented advanced filtering and sorting features using Django's ORM.
- Checkout Process: Integrated Stripe for secure payment processing during checkout.
- Dashboard: Access to user account details and order history.
- Contact Section: Provided a dedicated contact page or form for user inquiries and support.
Install Python: - Download and install Python from the official Python website.
-
Clone the repository:
git clone https://github.com/chrispsang/Beauty-Skincare.git cd Beauty-Skincare
-
Install dependencies:
pip3 install -r requirements.txt
-
Set up environment variables for Stripe:
- Create a
.env
file in the root of the project and add your Stripe API keys:STRIPE_SECRET_KEY= STRIPE_PUBLISHABLE_KEY=
- Create a
-
Start the development server:
python3 manage.py runserver
-
Access the application:
- Visit http://127.0.0.1:8000 in your browser for the main site.
-
Testing with Stripe Payment:
- Debit or Credit Card Number: 4242 4242 4242 4242
- Expiry Date: Any future date
- CVC: Any 3 digits
- ZIP Code: Any 5 digits