Skip to content

A basic headless ecommerce store demo built with swell & nextjs 🤷‍♂️

Notifications You must be signed in to change notification settings

SidNewman/next-swell-basic

Repository files navigation

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

About

A basic headless ecommerce store demo built with swell & nextjs 🤷‍♂️

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published