lgs / sveltekit-medusa-starter

Starter project to help you create your Medusa-powered ecommerce application

Home Page:https://pevey.com/sveltekit-medusa-storefront

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SvelteKit eCommerce Store Starter App for MedusaJS

Preview

If you are not familiar with Medusa, you can learn more on the project web site.

Medusa is a set of commerce modules and tools that allow you to build rich, reliable, and performant commerce applications without reinventing core commerce logic. The modules can be customized and used to build advanced ecommerce stores, marketplaces, or any product that needs foundational commerce primitives. All modules are open-source and freely available on npm.

Creating a project

# create a new project in the current directory
git clone git@github.com:pevey/sveltekit-medusa-starter.git ./

# create a new project in my-app
git clone git@github.com:pevey/sveltekit-medusa-starter.git my-app

Installing packages

cd my-app
yarn install

Configuring a project

mv .env.example .env
  • Open .env and add any required settings
  • Make sure to add http://localhost:5173 to your STORE_CORS in medusa-config.js in your medusa project folder.

Running the app

yarn dev

About

Starter project to help you create your Medusa-powered ecommerce application

https://pevey.com/sveltekit-medusa-storefront

License:MIT License


Languages

Language:Svelte 77.7%Language:TypeScript 19.8%Language:JavaScript 2.1%Language:HTML 0.3%Language:CSS 0.1%