{"id":16175271,"url":"https://github.com/app-generator/ecommerce-django-stripe","last_synced_at":"2025-04-07T11:14:23.060Z","repository":{"id":61755491,"uuid":"550659193","full_name":"app-generator/ecommerce-django-stripe","owner":"app-generator","description":"Django Stripe Sample - Soft UI Design (Free Sample) | AppSeed","archived":false,"fork":false,"pushed_at":"2025-03-05T11:41:13.000Z","size":9554,"stargazers_count":66,"open_issues_count":1,"forks_count":22,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T18:13:26.003Z","etag":null,"topics":["django-and-stripe","django-ecom","django-ecommerce","django-ecommerce-project","django-sample","django-stripe","django-stripe-sample","django-template","ecommerce","ecommerce-application","ecommerce-django","ecommerce-django-project","stripe-sample"],"latest_commit_sha":null,"homepage":"https://blog.appseed.us/django-stripe-mini-ecommerce/","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-13T05:49:51.000Z","updated_at":"2025-03-25T13:45:53.000Z","dependencies_parsed_at":"2024-11-02T17:35:56.094Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/ecommerce-django-stripe","commit_stats":null,"previous_names":[],"tags_count":10,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-django-stripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-django-stripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-django-stripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-django-stripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/ecommerce-django-stripe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640467,"owners_count":20971558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["django-and-stripe","django-ecom","django-ecommerce","django-ecommerce-project","django-sample","django-stripe","django-stripe-sample","django-template","ecommerce","ecommerce-application","ecommerce-django","ecommerce-django-project","stripe-sample"],"created_at":"2024-10-10T04:44:31.154Z","updated_at":"2025-04-07T11:14:23.042Z","avatar_url":"https://github.com/app-generator.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django \u0026 Stripe `Mini eCommerce`\n\n**Open-source eCommerce Starter** 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 \u0026 Stripe**.\n\n- [Django mini eCommerce](https://github.com/app-generator/ecommerce-django-stripe) sources (this repo)\n- [Rocket eCommerce](https://app-generator.dev/product/rocket-ecommerce/django/) - **PRO Version**\n  - ✅ Stripe Integration\n  - ✅ Checkout, Discounts Page\n  - ✅ Tags, Categories\n  - ✅ Analytics\n  - ✅ Generated Sitemap \n\n\u003cbr /\u003e\n\n## Manual Build\n\n\u003e 👉 Download the code from the GH repository (using `GIT`) \n\n```bash\n$ git clone https://github.com/app-generator/ecommerce-django-stripe.git\n$ cd ecommerce-django-stripe\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 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 👉 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 👉 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 👉 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\u003cbr /\u003e\n\n## Load and create product from Stripe\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## Need More? Go PRO with [Rocket eCommerce](https://app-generator.dev/product/rocket-ecommerce/django/)\n\nProduction-ready eCommerce CMS integrated with Stripe, Analytics, Discounts Page, Docker and CI/CD support - Actively supported by [App-Generator](https://app-generator.dev/).\n\n| Status | Item | info | \n| --- | --- | --- |\n| ✅ | Stack | Django, Tailwind, React |\n| ✅ | Payments | Stripe |\n| ✅ | Categories | YES |\n| ✅ | Tags | YES |\n| ✅ | Checkout | YES |\n| ✅ | Discounts Page | YES |\n| ✅ | Products Import | Stripe |\n| ✅ | Products Local Customization | YES |\n| ✅ | Analitycs | Weekly, Monthly, Year `Sales` |\n| ✅ | Transactions Tracking | YES |\n| ✅ | Docker | YES |\n| ✅ | CI/CD | Render |\n\n![Rocket eCommerce - Production-ready eCommerce CMS integrated with Stripe, Analytics, Discounts Page, Docker and CI/CD support.](https://github.com/user-attachments/assets/5db5841f-6802-4dfa-8ce7-46cf14435c5a)\n\n\u003cbr /\u003e\n\n---\nDjango \u0026 Stripe `Mini eCommerce` - Open-source eCommerce Starter provided by [App-Generator](https://app-generator.dev/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fecommerce-django-stripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fecommerce-django-stripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fecommerce-django-stripe/lists"}