Stripe, FastAPI, Bootstrap 5 – Free eCommerce

Hello Coders!

This article presents a simple eCommerce starter powered by Stripe, FastAPI (for the backend logic), and Bootstrap 5 (for styling). The goal of this starter is to help programmers bootstrap fast a decent and secure eCommerce solution wit…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Sm0ke

Hello Coders!

This article presents a simple eCommerce starter powered by Stripe, FastAPI (for the backend logic), and Bootstrap 5 (for styling). The goal of this starter is to help programmers bootstrap fast a decent and secure eCommerce solution with minimal effort. Being open-source and released under the MIT license, the codebase can be easily extended, incorporated in commercial projects, or used in eLearning activities.

Thanks for reading!

A strong point of this project is the UI Kit provided by Creative-Tim, a well-known agency, that released the design for free. Soft UI Design, comes with 50+ components and reusable widgets for at least a decent eCommerce project.

✨ Product Highlights

This mini eCommerce loads the products from JSON files saved in the templates directory and build dynamic pages based on this minimal information.

  • âś… Backend: FastAPI
  • âś… Payments: Stripe
  • âś… Design: Soft UI Design (free version)
  • âś… Deployment: Docker
  • âś… Secure by default: No database is used
  • âś… MIT license

The minimal information required for a product definition can be found below:

{
    "name": "Air ZOOM Pegasus",
    "price": 499,
    "currency": "usd",
    "short_description": "A workhorse built to help ..(truncated)..",
    "full_description": "A workhorse built to help power ..(truncated).."
}

GitHub logo app-generator / ecommerce-fastapi-stripe

FastAPI Stripe Sample - Soft UI Design (Free Sample) | AppSeed

FastAPI & Stripe Mini eCommerce

Open-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 FastAPI & Stripe.


Features

Status Item info
âś… FastAPI For backend logic
âś… Stripe Payment processor
âś… Soft UI Design (Free Version) by Creative-Tim
âś… JSON Products definition - see sample
âś… Automatic Products Discovery Source DIR: templates\products
âś… Deployment Docker
❌ CI/CD Render Deployment Platform

✨ Video Presentation

fastapi-stripe-ecommerce.mp4

✨ Quick Start in Docker

👉 Step 1 - Download the code from the GH repository (using GIT)

$ git clone https://github.com/app-generator/ecommerce-fastapi-stripe.git
$ cd ecommerce-fastapi-stripe

👉 Step 2 - Start the APP in Docker

$ docker-compose up --build 

Visit http://localhost:5085 in your browser. The app should be up & running.


FastAPI & Stripe mini eCommerce - Open-Source Starter provided by AppSeed.


✨ Manual Build

The process is basically the usual set up for any…

If your workstation has Docker installed, the product can be started via a single command typed in the terminal (make sure you're at the root of the sources).

$ docker-compose up --build 

Once this command finishes the execution, the app should be up & running in the browser.

FastAPI & Stripe - Open-Source eCommerce.

Thanks for reading! For more resources and support, please access:


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Sm0ke


Print Share Comment Cite Upload Translate Updates
APA

Sm0ke | Sciencx (2022-10-29T09:24:09+00:00) Stripe, FastAPI, Bootstrap 5 – Free eCommerce. Retrieved from https://www.scien.cx/2022/10/29/stripe-fastapi-bootstrap-5-free-ecommerce/

MLA
" » Stripe, FastAPI, Bootstrap 5 – Free eCommerce." Sm0ke | Sciencx - Saturday October 29, 2022, https://www.scien.cx/2022/10/29/stripe-fastapi-bootstrap-5-free-ecommerce/
HARVARD
Sm0ke | Sciencx Saturday October 29, 2022 » Stripe, FastAPI, Bootstrap 5 – Free eCommerce., viewed ,<https://www.scien.cx/2022/10/29/stripe-fastapi-bootstrap-5-free-ecommerce/>
VANCOUVER
Sm0ke | Sciencx - » Stripe, FastAPI, Bootstrap 5 – Free eCommerce. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/10/29/stripe-fastapi-bootstrap-5-free-ecommerce/
CHICAGO
" » Stripe, FastAPI, Bootstrap 5 – Free eCommerce." Sm0ke | Sciencx - Accessed . https://www.scien.cx/2022/10/29/stripe-fastapi-bootstrap-5-free-ecommerce/
IEEE
" » Stripe, FastAPI, Bootstrap 5 – Free eCommerce." Sm0ke | Sciencx [Online]. Available: https://www.scien.cx/2022/10/29/stripe-fastapi-bootstrap-5-free-ecommerce/. [Accessed: ]
rf:citation
» Stripe, FastAPI, Bootstrap 5 – Free eCommerce | Sm0ke | Sciencx | https://www.scien.cx/2022/10/29/stripe-fastapi-bootstrap-5-free-ecommerce/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.