5 Building an e-commerce site
This chapter covers
- Establishing the needs of a typical e-commerce site
- Comparing headless e-commerce systems for managing products and checkout
- Choosing a static site generator for an e-commerce site
- Creating and configuring a new site using Next.js
- Building a product listing, product detail, and shopping cart in Next.js
- Importing and using Markdown content in a Next.js site
An e-commerce site has many requirements that might make it seem ill-suited for an architecture based on static assets, as the Jamstack is. While the content aspects, such as product listings and detail pages, can be made to fit easily within a statically generated site, things like shopping carts, checkout processing, and order histories ...
Get The Jamstack Book now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.