Create an eCommerce Store with Next.js and Stripe Checkout
Learn how to build a fully custom e-commerce store using React Hooks and React Context. Deploy your store to Vercel and make it portable to other platforms. Create a grid of products, configure Stripe integration, manage cart state, and create dynamic product pages. Start building your online store today!
There are as many ways to build an e-commerce store on the internet as there are products to sell. One thing is for certain, e-commerce is here to stay and as professional developers we need to understand how to build fully custom stores for our clients using the best modern tools available.
Your store will have well managed local component state using React Hooks and you’ll also have clear and cohesive shared (global) state with React Context.
Finally you’ll deploy your custom store to Vercel (the platform behind Next.js) as well as how to make your Next.js e-commerce store portable to deploy to other platforms.
Course Content
Create a New React Application with the Next.js create-next-app CLI
Add and Style a Grid of Products with Images in a Next.js React App
Add and Configure Products in the Stripe Dashboard for an Online Store
Dynamically Manage a Grid of Products in an Online Store with a JSON Document
Host & Deploy a Next.js React App on Vercel imported from GitHub
Configure a Stripe Checkout Domain for Client-Only Integration
Add a Stripe API Key as an Environment Variable in Next.js & Vercel
Integrate Stripe Checkout to Purchase Products in Next.js with Stripe @stripe/stripe-js Cl
Create a Shopping Cart with the useState React Hook to Manage Product Quantity and Total
Create a Custom React Hook to Manage Cart State
Use the React Context API to Globally Manage Cart State in a Next.js App
Store and Load Cart State from Local Storage to Persist Cart Data When Reloading the Page
Use Next.js Dynamic Routes to Create Product Pages for an Online Store
Create a Shopping Cart Page to Manage Products to Purchase in a Next.js App
Add a Quantity Input to the Cart Page to Add or Remove Items from a Shopping Cart in Next