Skip to content

johnsonthedev/remix-ecommerce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remix + Vendure Demo

logo

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.

Notes

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:

  1. I wanted to simplify the deployment and do away with a dependency on Redis
  2. Vendure includes dynamic image transformations out-of-the-box, so I make use of this capability and further simplify the deployment.

Limitations

No checkout flow nor customer account management features have yet been implemented.

Development

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.

Deployment

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.

About

Headless commerce with Remix + Vendure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.1%
  • JavaScript 3.8%
  • Other 1.1%