🛍 Elastic Path powered Gatsby demo store
🚨 THIS IS A WIP - CONTRIBUTORS WELCOME 😍
You'll need an Elastic Path Commerce Cloud account to run this store.
Run the following commands in your Terminal:
gatsby new gatsby-demo-store https://github.com/moltin/gatsby-demo-store
cd gatsby-demo-store
yarn
Once you have the project setup, you can now configure the ENV variables required to run the project.
Create a .env
file in the root directory and add the following with your secrets:
GATSBY_MOLTIN_CLIENT_ID=
GATSBY_STRIPE_PUBLISHABLE_KEY=
GATSBY_ALGOLIA_PLACES_APP_ID=
GATSBY_ALGOLIA_PLACES_API_KEY=
GATSBY_ALGOLIA_INDEX_NAME=
ALGOLIA_ADMIN_KEY=
GATSBY_ALGOLIA_API_KEY=
GATSBY_ALGOLIA_APP_ID=
GATSBY_ITEMS_PER_PAGE=
You must also configure Stripe inside the Dashboard.
Now you're ready to go!
yarn dev