/medusa-contentful-storefront

A storefront for Medusa Starter Contentful

Primary LanguageJavaScript

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

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