This is a proof-of-concept demo demonstrating full-stack open-source headless commerce, with a Remix storefront powered by Vendure. It is based on the work of Jacob Ebey which in turn is an adaptation of the Next.js Commerce project.
Jacob's original project forms the basis of the Remix vs Next.js blog post and it makes used of some advanced caching & image optimization techniques (described in the post).
This repo has removed these parts because:
- I wanted to simplify the deployment and do away with a dependency on Redis
- Vendure includes dynamic image transformations out-of-the-box, so I make use of this capability and further simplify the deployment.
No checkout flow nor customer account management features have yet been implemented.
Copy .env.example
to .env
. Update the Vendure API url if you need to, e.g. to point it at a local
Vendure instance.
From your terminal:
npm run dev
This starts your app in development mode, rebuilding assets on file changes.
First, build your app for production:
npm run build
Then run the app in production mode:
npm start
This repo is set up to deploy to Netlify.