{"id":16175293,"url":"https://github.com/app-generator/django-mini-ecomm","last_synced_at":"2026-02-06T18:08:37.752Z","repository":{"id":62052776,"uuid":"557416695","full_name":"app-generator/django-mini-ecomm","owner":"app-generator","description":"Django Mini eCommerce - Products DW from Stripe ","archived":false,"fork":false,"pushed_at":"2022-10-26T18:02:24.000Z","size":8979,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T18:50:16.134Z","etag":null,"topics":["appseed-sample","django-stripe","ecommerce"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=qP3QGkvBq74","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-25T16:44:08.000Z","updated_at":"2022-11-05T22:44:27.000Z","dependencies_parsed_at":"2023-01-20T13:46:53.313Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/django-mini-ecomm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"app-generator/ecommerce-django-stripe","purl":"pkg:github/app-generator/django-mini-ecomm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-mini-ecomm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-mini-ecomm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-mini-ecomm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-mini-ecomm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/django-mini-ecomm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-mini-ecomm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29171212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appseed-sample","django-stripe","ecommerce"],"created_at":"2024-10-10T04:44:33.614Z","updated_at":"2026-02-06T18:08:37.736Z","avatar_url":"https://github.com/app-generator.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Django \u0026 Stripe](https://blog.appseed.us/django-stripe-mini-ecommerce/) `Mini eCommerce`\n\nOpen-source mini `eCommerce` project that loads the products from `JSON` files saved in the `templates directory` (no database required) and uses a decent UI for page styling - Powered by **Django**.\n\n- 👉 [Django \u0026 Stripe Presentation](https://youtu.be/Ui3YZ0R1weg) - published on `YouTube`\n- 👉 Free [Support](https://appseed.us/) via `Github` (issues tracker) and `Discord`. \n\n\u003cbr /\u003e\n\n\u003e Roadmap \u0026 Features \n\n| Status | Item | info | \n| --- | --- | --- |\n| ✅ | **Django** | For `backend logic` |\n| ✅ | **Stripe** | `Payment processor` |\n| ✅ | **[Soft UI Design](https://www.creative-tim.com/product/soft-ui-design-system?AFFILIATE=128200)** | (Free Version) by `Creative-Tim` |\n| ✅ | **JSON** | `Products definition` - see [sample](./products/templates/products/product-air-zoom-pegasus.json) |\n| ✅ | Automatic Products Discovery | Source DIR: [templates\\products](./products/templates/products) |\n| ✅ | **Dw Products from Stripe** | On going development via [Python Stripe Library](https://pypi.org/project/python-stripe/) |\n| ❌ | **Docker** | - |\n| ❌ | **CI/CD** | Render Deployment Platform |\n\n\u003cbr /\u003e\n\nhttps://user-images.githubusercontent.com/51070104/196485430-1fdbc67d-b532-4b5c-b358-11baeee43437.mp4\n\n\u003cbr /\u003e\n\n## ✨ Quick Start\n\n\u003e 👉 **Step 1** - Download the code from the GH repository (using `GIT`) \n\n```bash\n$ git clone https://github.com/app-generator/django-mini-ecomm.git\n$ cd django-mini-ecomm\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 2** - Create `.env` using provided `env.sample`\n\n Add `.env` file in your projects root directory and add the following credentials\n\n```\nDEBUG=True\nSECRET_KEY=\nSTRIPE_SECRET_KEY=\nSTRIPE_PUBLISHABLE_KEY=\nDOMAIN_URL=\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 3** - Install dependencies\n\n```bash\n$ python -m venv env\n$ source env/bin/activate\n$ pip install -r requirements.txt\n```\n\n\u003cbr /\u003e \n\n\u003e 👉 **Step 4** - Migrate DB \u0026 Start the APP\n\n```bash\n$ python manage.py migrate\n$ python manage.py runserver\n```\n\nVisit `http://localhost:8000` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 5** - Access the products and initiate a payment\n\n**IMPORTANT**: Make sure your Stripe account is running in `TEST Mode` and Use Test CC provided by Stripe:\n\n- **CC Number**: `4242 4242 4242 4242`\n- Any data for the rest of the fields  \n\n\u003cbr /\u003e\n\n## ✨ Create a new Product\n\n- Go to `products/templates/products` directory\n- Create a new `JSON` file with data:\n  - `name`: Used in product page \u0026 Cards\n  - `price`: Used for payment\n  - `currency`: Used for payment\n  - `info`: used in cards \n  - `short_description`: used in product page\n  - `full_description`: used in product page\n- Create Media Files\n  - Go to `products/static/products` \n  - Create a directory using the same name as for `JSON` file\n    - Create `card.jpg`: 500x335px\n    - Create `cover.jpg`: 2100x1400px\n- Start or refresh the app\n  - The new product should be listed in the `home` page\n  - Product page is available at address:\n    - `http://127.0.0.1:8000/product/\u003cSLUG\u003e/` where the SLUG is the name of the JSON file \n\n\n\u003cbr /\u003e\n\n## ✨ Load and create product from stripe\n\n\n- Go to `Create Product` route in `Products` dropdown [You must be a superuser] \n- On the left side there should be a button `Get Products From Stripe` this button will pull all the products associated with the stripe account. [demo](./products/static/products/demo/load-stripe-product.png)\n  - There will be product list, you can create a product by clicking the `Create` button. [demo](./products/static/products/demo/create-product.png)\n- On the right side you will see the local product list and a button `Edit`.\n  - You can edit a product from here. [ID is not editable] [demo](./products/static/products/demo/edit-product.png)\n  \n\u003cbr /\u003e\n\n\u003e Sample product page generated for [Air ZOOM Pegasus](./products/templates/products/product-air-zoom-pegasus.json), assets loaded from [here](./products/static/products/product-air-zoom-pegasus)\n\n\u003cbr /\u003e\n\n![Django Stripe Sample - Air ZOOM Pegasus (sample Product](https://user-images.githubusercontent.com/51070104/152586940-2f3b31fb-f067-487a-98ca-26d9e1936514.png)\n\n\u003cbr /\u003e\n\n\u003e Homepage eCommerce cards\n\n![Django \u0026 Stripe Mini eCommerce - Open-Source Starter provided by AppSeed.](https://user-images.githubusercontent.com/51070104/196479738-be20d203-df44-47ce-a124-d3ed426ef622.jpg)\n\n\u003cbr /\u003e\n\n## ✨ Codebase structure\n\nThe project has a simple structure, represented as bellow:\n\n```bash\n\u003c PROJECT ROOT \u003e\n   |\n   |-- products/__init__.py\n   |-- products/\n   |    |-- static/\n   |    |    |-- \u003ccss, JS, images\u003e         # CSS files, Javascripts files\n   |    |\n   |    |-- templates/\n   |    |    |\n   |    |    |-- includes/                 # Page chunks, components\n   |    |    |    |-- navigation.html      # Top bar\n   |    |    |    |-- sidebar.html         # Left sidebar\n   |    |    |    |-- scripts.html         # JS scripts common to all pages\n   |    |    |    |-- footer.html          # The common footer\n   |    |    |\n   |    |    |-- layouts/                  # App Layouts (the master pages)\n   |    |    |    |-- base.html            # Used by common pages like index, UI\n   |    |    |    |-- base-fullscreen.html # Used by auth pages (login, register)\n   |    |    |\n   |    |    |-- products/                        # Define your products here\n   |    |    |    |-- nike-goalkeeper-match.json  # Sample product\n   |\n   |-- requirements.txt\n   |\n   |-- run.py\n   |\n   |-- ************************************************************************\n```\n\n\u003cbr /\u003e\n\n## ✨ Credits \u0026 Links\n\n- [Django Framework](https://www.djangoproject.com/) - The official website\n- [Stripe Dev Tools](https://stripe.com/docs/development) - official docs\n\n\u003cbr /\u003e\n\n---\n**[Django \u0026 Stripe](https://blog.appseed.us/django-stripe-mini-ecommerce/) Mini eCommerce** - Free sample provided by [AppSeed](https://appseed.us).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdjango-mini-ecomm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fdjango-mini-ecomm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdjango-mini-ecomm/lists"}