Skip to content

medusajs/medusa-contentful-storefront

Repository files navigation

Medusa

Medusa Contentful Storefront

Medusa is an open-source headless commerce engine that enables developers to create amazing digital commerce experiences.

Medusa is released under the MIT license. PRs welcome! Discord Chat Follow @medusajs

⚠️ 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

  1. Install the storefront

    gatsby new medusa-contentful-storefront https://github.com/medusajs/medusa-contentful-storefront/edit/master/README.md
  2. Setup your environment variables

    mv .env.template .env

    Go 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 .env together with your Contentful space id:

    CONTENTFUL_SPACE_ID=*****
    CONTENTFUL_ACCESS_TOKEN=**************
    
  3. Start developing.

    Start up the local server.

    yarn start
  4. Open the code and start customizing!

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

    Edit src/pages/index.js to see your site update in real-time!

  5. Learn more about Medusa

  6. Learn more about Contentful

  7. Learn more about Gatsby

Thank you!

Website | Notion Home | Twitter | Docs

About

A storefront for Medusa Starter Contentful

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published