This is a Django project that allows users to browse and purchase products from an online store. Users can create accounts, add items to their cart, and checkout securely using Stripe payment processing.
- Browse products by category and search for specific items
- Create user accounts and log in/out
- Add items to cart and adjust quantities
- Checkout securely using Stripe payment processing
- View order history and update account information
- Clone this repository.
- Install the dependencies using
pip install -r requirements.txt
. - Set up the database by running
python manage.py migrate
. - Start the Django development server using
python manage.py runserver
.
- Navigate to
http://localhost:8000/
in your web browser. - Browse products by clicking on the category links or using the search bar.
- Click on a product to view more details.
- Add items to your cart by selecting the quantity and clicking "Add to Cart".
- Click on the shopping cart icon to view your cart and adjust quantities or remove items.
- Click "Checkout" to enter your shipping and payment information.
- Confirm your order and click "Place Order" to complete the transaction.
This project uses Stripe to process payments. To use Stripe, you'll need to set up a Stripe account and obtain your API keys. You can then add your API keys to a .env
file in the root directory of the project:
- STRIPE_PUBLIC_KEY= <your public key
- STRIPE_SECRET_KEY= <your secret key
Contributions are always welcome! If you have any suggestions or found a bug, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE
file for details.
I'am still working on this project