/leveluptuts-gatsby2-ecommerce

MVP for A ecommerce Gatsby store

Primary LanguageCSSMIT LicenseMIT

Gatsby

This is a working project to use for Pure Gatsby+Stripe Products.

🚀 Quick start

  1. Setting up Stripe

    Make sure you have a stripe account that has products in there.

    For example: T-shirt - $15 - with 3 variant SKUs (small, medium, large)

  2. Create a config.js file with your Stripe keys

    module.exports = {
      stripe: {
        testId: "TEST API HERE",
        testSecret: "TEST SECRET HERE",
      },
    };
  1. Run Gatsby

    Gatsby Develop

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

    You should now see a front page that auto-generates all of your Stripe Products.