Skip to content

imrrobat/digikala

Repository files navigation

🛒 Shopping Website (Digikala Clone)

A simple shopping website built with Python and Django for the backend, and Bootstrap for the frontend. This project also integrates with Zarinpal Payment Gateway for real-world payment support.

🚀 Features

  • User authentication (login, signup, logout)
  • Product listing and categories
  • Shopping cart and order management
  • Payment integration with Zarinpal
  • Responsive design using Bootstrap

🛠️ Tech Stack

  • Backend: Python, Django
  • Frontend: HTML, CSS, Bootstrap
  • Database: SQLite (default) – can be replaced with PostgreSQL/MySQL
  • Payment: Zarinpal gateway integration

📦 Installation & Setup

  1. Clone the repository:

    git clone https://github.com/imrrobat/digikala.git
    cd digikala
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate   # on Linux/Mac
    venv\Scripts\activate      # on Windows
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run migrations:

    python manage.py migrate
  5. Create a superuser (for admin panel):

    python manage.py createsuperuser
  6. Run the development server:

    python manage.py runserver

    Then open: http://localhost:8000

💳 Payment Setup (Zarinpal)

To enable payments:

  • Create an account at Zarinpal
  • Get your Merchant ID
  • Add it in the project settings (in .env file)

📸 Screenshots

Digikala Clone Screenshot

🎥 Tutorial

I have explained step by step how to build this project on my YouTube channel.
Check out the full playlist here:
👉 YouTube Playlist

🤝 Contributing

Contributions are welcome! Feel free to fork this repo and submit pull requests.

⭐ Support

If you like this project, please give it a star ⭐ on GitHub — it really helps!

About

a simple clone of digikala..!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published