Gatsby E-Commerce: A Practical Introduction to Creating E-Commerce Sites with the Gatsby Framework

  • 4h 45m
  • Alex Libby
  • Apress
  • 2021

Leverage the power of Gatsby to quickly produce e-commerce sites that are efficient, fast, and secure. This project-oriented book simplifies the process of setting up a Gatsby e-commerce site from start to finish, providing a starting toolset that you can use to develop future projects and incorporate into your existing workflows.

You'll learn to reduce reliance on tools that are bloated, prone to being hacked, and not the most efficient, and move over to the newest framework on the block. You'll also see how to use the Gatsby framework to rapidly create and deploy e-commerce sites that are performant and secure, with the minimum of fuss.

Understand how to source data, build a catalog, add a blog, finesse your site (including performance), implement the checkout and payment processes with the help of third-party tools such as Stripe, and deploy to production. Finally, you'll learn how to migrate existing WooCommerce sites to Gatsby, and adapt for mobile.

Gatsby is fast and does away with the need for databases, thereby removing one of the biggest weak spots in any e-commerce site. It is based on Node.js and JavaScript, making it easy to extend and customize as requirements dictate. Learn to make your customers’ lives easier and simpler using this book today.

What You'll Learn

  • Implement e-commerce sites using Gatsby
  • Explore some of the options for architecting an e-commerce site using this framework
  • Gain an appreciation of pointers around maintenance requirements and ancillary needs (such as SEO)
  • Compare your site to others that use different tools
  • Work through a project from start to finish, understanding what can be achieved using Gatsby, and where other tools may need to be brought into play

Who This Book Is For

  • Developers already familiar with JavaScript, who are keen to learn how to leverage the Gatsby framework to quickly create the basis of an e-commerce offer (from scratch, or using data tools such as WooCommerce to support a transition), with little more than a text editor.
  • Developers who want to focus on simplicity, to produce efficient and properly optimized e-commerce sites in modern browsers using tools already in their possession.
  • Those in agile development teams, where time is of the essence, and the pressure is on to deliver results quickly.

About the Author

Alex Libby is a front-end engineer and seasoned computer book author, who hails from England. His passion for all things Open Source dates back to the days of his degree studies, where he first came across web development, and has been hooked ever since. His daily work involves extensive use of JavaScript, HTML and CSS to manipulate existing website content; Alex enjoys tinkering with different open source libraries to see how they work. He has spent a stint maintaining the jQuery Tools library, and enjoys writing about Open Source technologies, principally for front end UI development.

In this Book

  • Getting Started
  • Laying the Foundations
  • Styling the Shop
  • Sourcing Data
  • Building the Catalog
  • Checkout and Order Processing
  • Adding a Blog
  • Finessing the Site
  • Testing and Optimization
  • Deployment into Production
  • Migrating from WooCommerce
  • Adapting for Mobile
  • Updating the Payment Process