This is a simple e-commerce website built using Django, a powerful Python web framework. The project allows you to create an online store where users can browse products, add them to their cart, and make purchases.
- Product Catalog: Display a list of products with details.
- Product Categories: Organize products into different categories.
- User Authentication: Allow users to register, log in, and manage their accounts.
- Shopping Cart: Enable users to add products to their cart.
- Checkout: Process orders and payments.
- Admin Dashboard: Manage products, orders, and user accounts.
- Search Functionality: Implement product search functionality.
- Product Reviews: Allow users to leave reviews and ratings for products.
- Django: A high-level Python web framework for building robust web applications.
- Django REST Framework: Used for building APIs and managing product data.
- SQLite: A lightweight database for storing product information.
- HTML/CSS: Used for front-end design and layout.
- JavaScript: Used for interactive features.
- Bootstrap: A front-end framework for responsive design.
- Stripe: A payment processing platform for handling payments.
-
Clone the repository:
git clone <url>
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install Python dependencies:
pip install -r requirements.txt
-
Migrate the database:
python manage.py migrate
-
Create a superuser (admin) account:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Access the website at
http://localhost:8000in your web browser.
- Browse and search for products.
- Add products to your shopping cart.
- Register or log in to your user account.
- Complete the checkout process to place an order.
- Admins can access the admin dashboard at
http://localhost:8000/adminto manage products, orders, and users.