© Alex Libby 2021
A. LibbyGatsby E-Commercehttps://doi.org/10.1007/978-1-4842-6692-2_4

4. Sourcing Data

Alex Libby1  
(1)
RUGBY, UK
 

At this stage, we have a site in place, but there is one key element missing: data!

Yes, a shop isn’t any good without products (i.e., data), so throughout this chapter, we will work through what is required to set up our data and hook it into our shop. We’ll take a look at what options we have when it comes to implementing the checkout and payment process so that we can be sure our data needs are satisfied from the outset.

We’ll also do something I know you will be itching to do – test our shop! Indeed, we’ve not been able to do this until now, given that for it to work, we need to have data, markup, and (to a greater ...

Get Gatsby E-Commerce: A Practical Introduction to Creating E-Commerce Sites with the Gatsby Framework 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.