{"id":13707500,"url":"https://github.com/app-generator/ecommerce-flask-stripe","last_synced_at":"2025-04-07T10:56:43.619Z","repository":{"id":100502886,"uuid":"455462083","full_name":"app-generator/ecommerce-flask-stripe","owner":"app-generator","description":"Flask Stripe Sample - Soft UI Design (Free Sample) | AppSeed","archived":false,"fork":false,"pushed_at":"2025-03-05T11:46:20.000Z","size":14198,"stargazers_count":56,"open_issues_count":2,"forks_count":34,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-06T18:13:26.047Z","etag":null,"topics":["ecom-stripe","ecommerce","flask-ecom","flask-ecommerce","flask-sample","flask-stripe","flask-template","free-stripe-sample","open-source-stripe","python-stripe","stripe-flask","stripe-integration","stripe-python-demo","stripe-python-example","stripe-sample"],"latest_commit_sha":null,"homepage":"https://blog.appseed.us/flask-stripe-open-source-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}},"created_at":"2022-02-04T07:45:51.000Z","updated_at":"2025-03-18T10:49:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ef56aa0-78c8-4f10-a0d1-ddf6303482d0","html_url":"https://github.com/app-generator/ecommerce-flask-stripe","commit_stats":null,"previous_names":[],"tags_count":13,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-flask-stripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-flask-stripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-flask-stripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-flask-stripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/ecommerce-flask-stripe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640512,"owners_count":20971555,"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":["ecom-stripe","ecommerce","flask-ecom","flask-ecommerce","flask-sample","flask-stripe","flask-template","free-stripe-sample","open-source-stripe","python-stripe","stripe-flask","stripe-integration","stripe-python-demo","stripe-python-example","stripe-sample"],"created_at":"2024-08-02T22:01:33.414Z","updated_at":"2025-04-07T10:56:43.608Z","avatar_url":"https://github.com/app-generator.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Flask \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 **Flask \u0026 Stripe**.\n\n- [Flask mini eCommerce](https://github.com/app-generator/ecommerce-flask-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## Start in `Docker`\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/ecommerce-flask-stripe.git\n$ cd ecommerce-flask-stripe\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 2** - Add STRIPE secrets in `Dockerfile`\n\n```Dokerfile\n# Stripe Secrets \nENV STRIPE_SECRET_KEY      \u003cYOUR_STRIPE_SECRET_KEY\u003e\nENV STRIPE_PUBLISHABLE_KEY \u003cYOUR_STRIPE_PUBLISHABLE_KEY\u003e\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 3** - Start the APP in `Docker`\n\n```bash\n$ docker-compose up --build \n```\n\nVisit `http://localhost:5085` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n## Manual Build\n\n\u003e 👉 Rename `env.sample` to `.env`\n\n- Edit `STRIPE_SECRET_KEY` - provided by Stripe Platform\n- Edit `STRIPE_PUBLISHABLE_KEY` - provided by Stripe Platform\n\n\u003cbr /\u003e\n\n\u003e 👉 Install dependencies\n\n```bash\n$ virtualenv env\n$ source env/bin/activate\n$ pip install -r requirements.txt\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 Start the App\n\n```bash\n$ flask run\n```\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 `app/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 `master/app/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 `products/` page\n  - Product page is available at address:\n    - `http://localhost:5000/products/\u003cSLUG\u003e/` where the SLUG is the name of the JSON file \n  \n\u003cbr /\u003e\n\n\u003e Sample product page generated for [Air ZOOM Pegasus](./app/templates/products/product-air-zoom-pegasus.json), assets loaded from [here](./app/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---\nFlask \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-flask-stripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fecommerce-flask-stripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fecommerce-flask-stripe/lists"}