zakariaelas / gatsby-starter-medusa-fork

A simple Gatsby front-end for a Medusa project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Medusa

Medusa Gatsby Starter

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: To use the starter you should have a Medusa server running locally on port 9000. Check out medusa-starter-default for a quick setup.

Quick start

  1. Setting up the environment variables

    Navigate into your projects directory and get your environment variables ready:

    cd gatsby-starter-medusa/
    mv .env.template .env.development

    If using Stripe add your Stripe API key to your .env.development

    GATSBY_STRIPE_KEY=pk_test_something
    
  2. Install dependencies

    Use Yarn to install all dependencies.

    yarn
  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 Gatsby

About

A simple Gatsby front-end for a Medusa project


Languages

Language:JavaScript 74.6%Language:CSS 25.4%