This repository contains the Django project for a toy store, which includes a blog, an online store, a shopping cart, and a payment system. This project is structured into four main Django apps: blog
, store
, cart
, and payment
.
- Blog: Allows users to read and comment on blog posts.
- Store: Users can browse through toy categories and products.
- Cart: Users can add products to their shopping cart and manage cart items.
- Payment: Integrates a simple payment system to process transactions.
Before you begin, ensure you have the following installed:
- Python 3.8 or higher
- Django 3.2 or higher
- Other dependencies listed in
requirements.txt
-
Clone the repository to your local machine:
git clone https://github.com/forrest482/ToyStore.git
-
Navigate to the project directory:
cd toystore
-
Install the required dependencies:
pip install -r requirements.txt
-
Apply the migrations to create the database schema:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
Open a web browser and navigate to
http://127.0.0.1:8000/
to view the project.
- Access the Blog section to read and comment on posts.
- Visit the Store to explore toy categories and products.
- Add products to your Cart and review them before proceeding to checkout.
- Use the Payment system to simulate transactions for your purchases.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.