If you are not familiar with Vendure, you can learn more on the project web site. Vendure is an open-source, MIT-licensed, Node.js-based ecommerce backend with tons of flexibility. You can use it to power practically any ecommerce application you could think of.
This project is under active development. Breaking changes will frequently occur.
# install degit
npm install -g degit
# create a new project in my-app
degit https://github.com/pevey/sveltekit-vendure-starter-server-side.git my-app
cd my-app
yarn install
mv .env.example .env
Open .env and add any required settings
To make development a bit easier, you can change the urls in the EmailPlugin configuration options in vendure-config.ts to match the default SvelteKit dev url: http://localhost:5173:
vendure-config.ts
verifyEmailAddressUrl: 'http://localhost:5173/verify',
passwordResetUrl: 'http://localhost:5173/auth',
changeEmailAddressUrl: 'http://localhost:5173/account'
Make sure your Vendure backend is running first and that you configure the VENDURE_API_URL in your .env file or your shell environment.
yarn dev