Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 823 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 823 Bytes

Next.js with Swell | A headless api first ecommerce template starter

This is somewthing I have been playing around with in my free time. My goal is to update this to use all of swells features at somepoint and eventually move to full TypeScript...

DEMO HERE: next-swell-demo.vercel.app/

To get started:

👇

run pnpm i

👇

Create a new .env like so:

NEXT_PUBLIC_SWELL_STORE_ID=your_swell_store_id_here
NEXT_PUBLIC_SWELL_PUBLIC_KEY=your_swell_store_public_key_here
NEXT_PRIVATE_SWELL_KEY=your_swell_store_private_key_here

(that should connect to your swell store, provided you have obviously got an account and an active store)

👇

Log in to your swell store and add your products, then your site will start to populate