A small and performant e-commerce system based on Svelte, Tailwind, Pocketbase and Stripe integration.
You can try a demo at https://fm-felgentechnik.vercel.app
git clone https://github.com/furkankarayel/blitzstore.git
cd blitzstore
Install dependencies
pnpm install
Create .env file
cp .env.example .env
Change the variables, if you haven't modified the Pocketbase database, the URL should be the same. PUBLIC_STRIPE_KEY
and SECRET_STRIPE_KEY
can be found from your Stripe dashboard.
Download the Pocketbase file and serve it with
./pocketbase serve
Open the Admin UI and create an admin account.
Download pb_schema.json
Go to Settings/Import collections and click Load from JSON file and select pb_schema.json
After you serve Pocketbase, you can safely launch the SvelteKit project with:
pnpm run dev
To create a production version of your app:
pnpm run build
You can preview the production build with pnpm run preview
.
To deploy your app, you may need to install an adapter for your target environment.