Steel is a tool kit for headless commerce. Learn more about the Steel ecosystem here
-
Make sure you have your Steel Studio setup before moving forward. More info on that here
-
Click the 'Use Template' button to generate your own repo
-
Clone your new repo to your local machine
-
npm install the gatsby-cli and all dependencies
cd your-project-dir && npm i -g gatsby-cli && npm i
-
Place your Sanity project ID & dataset name, as well as your Snipcart API key into gatsby-config.js
-
Edit the details of gatsby-plugin-manifest in gatsby-config.js
*note: you can use this template without connecting to the Steel Studio specifically. Just make sure your Snipcart related page queries match your Sanity schema, and verify the JSX template in /src/components/Product.js matches that query as well
If you'd like to contribute to this template, just make a PR! Also, if you'd like to help me maintain the Steel ecosystem at all, just get in touch. This would be a great opportunity for people who are new to contributing to OSS!
This starter inspired by Wes Bos' Master Gatsby course, as well as the gatsby-snipcart starter by Issy Dennis