filmov
tv
Build an Ecommerce Store With SvelteKit 1.0, Stripe API, and Skeleton UI (TypeScript Tutorial)
Показать описание
In this video I show how to create an Ecommerce store using Sveltekit 1.0, with full Stripe integration to allow for secure checkouts. This is a great project for beginner and intermediate level programmers, and uses a bunch of practical functionality which you can easily apply to any application you want to build with SvelteKit 1.0. The tutorial covers SvelteKit 1.0 API, routing, svelte stores, svelte writable (state management), svelte components, and Skeleton UI with Tailwind CSS. The shopping cart of the tutorial is also a great way to get a first look into how you manage data using svelte/store. This video is also great to understand how you can use TypeScript with SvelteKit 1.0, and add your own custom types.
0:00 Project showcase
1:15 Create SvelteKit 1.0 app with Skeleton UI
2:52 Create UI
4:30 Create ProductCard Svelte component
7:00 Dynamically load products to store
11:55 Create cart logic with svelte/store (writable)
22:05 Add cart logic to ProductCard component
26:00 Create Stripe checkout API route
32:28 Setup Stripe API / Create Stripe products
34:35 Create checkout logic with Stripe API call
37:50 Checkout test, thanks for watching!
Комментарии