medusa-contentful-storefront
medusa-contentful-storefront copied to clipboard
A storefront for Medusa Starter Contentful
Medusa Contentful Storefront
Medusa is an open-source headless commerce engine that enables developers to create amazing digital commerce experiences.
:warning: This storefront is deprecated and may not work with the latest versions of Medusa. It's recommended to integrate Contentful in your storefront manually.
Prerequisites: This starter works with
medusa-starter-contentful. Make sure to have this starter installed and running.
Quick start
-
Install the storefront
gatsby new medusa-contentful-storefront https://github.com/medusajs/medusa-contentful-storefront/edit/master/README.md -
Setup your environment variables
mv .env.template .envGo to your Contentful space, then click Settings > API Keys > Add API key. Copy the value in the field "Content Delivery API - access token" and paste it into your
.envtogether with your Contentful space id:CONTENTFUL_SPACE_ID=***** CONTENTFUL_ACCESS_TOKEN=************** -
Start developing.
Start up the local server.
yarn start -
Open the code and start customizing!
Your site is now running at http://localhost:8000!
Edit
src/pages/index.jsto see your site update in real-time! -
Learn more about Medusa
-
Learn more about Contentful
-
Learn more about Gatsby
Thank you!
Website | Notion Home | Twitter | Docs