{"id":16175220,"url":"https://github.com/app-generator/ecommerce-fastapi-stripe","last_synced_at":"2025-09-06T10:43:32.674Z","repository":{"id":61736137,"uuid":"553586929","full_name":"app-generator/ecommerce-fastapi-stripe","owner":"app-generator","description":"FastAPI \u0026 Stripe Integration - Open-source eCommerce Starter | App-Generator.dev","archived":false,"fork":false,"pushed_at":"2025-05-06T05:51:46.000Z","size":9258,"stargazers_count":95,"open_issues_count":2,"forks_count":28,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-30T23:56:02.263Z","etag":null,"topics":["ecommerce","fastapi","fastapi-starter","fastapi-starter-kit","fastapi-starter-template","fastapi-stripe","fastapi-template","stripe-fastapi","stripe-fastapi-demo","stripe-fastapi-example","stripe-starter","stripe-template"],"latest_commit_sha":null,"homepage":"https://app-generator.dev/docs/technologies/fastapi/index.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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,"zenodo":null}},"created_at":"2022-10-18T12:52:45.000Z","updated_at":"2025-08-28T14:50:54.000Z","dependencies_parsed_at":"2024-04-09T18:47:22.496Z","dependency_job_id":"ee4fdf7a-4140-44a4-9faa-b8e360494156","html_url":"https://github.com/app-generator/ecommerce-fastapi-stripe","commit_stats":null,"previous_names":[],"tags_count":8,"template":true,"template_full_name":null,"purl":"pkg:github/app-generator/ecommerce-fastapi-stripe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-fastapi-stripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-fastapi-stripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-fastapi-stripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-fastapi-stripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/ecommerce-fastapi-stripe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fecommerce-fastapi-stripe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273892841,"owners_count":25186561,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ecommerce","fastapi","fastapi-starter","fastapi-starter-kit","fastapi-starter-template","fastapi-stripe","fastapi-template","stripe-fastapi","stripe-fastapi-demo","stripe-fastapi-example","stripe-starter","stripe-template"],"created_at":"2024-10-10T04:44:24.571Z","updated_at":"2025-09-06T10:43:32.664Z","avatar_url":"https://github.com/app-generator.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [FastAPI](https://app-generator.dev/docs/technologies/fastapi/index.html) \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 **[FastAPI](https://app-generator.dev/docs/technologies/fastapi/index.html) \u0026 [Stripe](https://app-generator.dev/docs/payment-processors/stripe/index.html)**.\n\n- [FastAPI mini eCommerce](https://github.com/app-generator/ecommerce-fastapi-stripe) sources (this repo)\n- [FastAPI Resources](https://app-generator.dev/docs/technologies/fastapi.html)\n  - [Getting Started with FastAPI](https://app-generator.dev/docs/technologies/fastapi/index.html)\n  - [FastAPI Cheatsheet](https://app-generator.dev/docs/technologies/fastapi/cheatsheet.html)   \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## Quick 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-fastapi-stripe.git\n$ cd ecommerce-fastapi-stripe\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 2** - 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\nThe process is basically the usual set up for any Python app: `environment` set up, `dependencies` install, and `bootstrap`. \n\n\u003cbr /\u003e\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-fastapi-stripe.git\n$ cd ecommerce-fastapi-stripe\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 2** - Rename `env.sample` to `.env` and provide the Stripe Secrets\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 👉 **Step 3** - `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 👉 **Step 4** - `Start the App`\n\n```bash\n$ uvicorn src.app:app --reload\n```\n\nVisit `http://localhost:8000` in your browser. For another port, use `--port 8099` directive.\n\n\u003cbr /\u003e\n\n## ✨ Create a new Product\n\n- Go to `src/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 `src/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:8000/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](./src/templates/products/air-zoom-pegasus.json), assets loaded from [here](./src/static/products/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| ✅ | Analytics | 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---\n[FastAPI](https://app-generator.dev/docs/technologies/fastapi/index.html) \u0026 Stripe `Mini eCommerce` - Open-source eCommerce Starter provided by [App-Generator](https://app-generator.dev/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fecommerce-fastapi-stripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fecommerce-fastapi-stripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fecommerce-fastapi-stripe/lists"}