Show HN: YourNextStore – an open-source Shopify with Stripe as the back end

github.com

285 points · zaiste · 126 days ago

We’re building Your Next Store, a modern, ultra-fast, open-source commerce in Next.js with Stripe as the backend - no DB required.

Selling online is often more complex than it needs to be. Setting up a storefront with great performance can feel daunting and time-consuming. There are many plugins, libraries, etc - the choice can be overwhelming.

Plus, in e-commerce, the backend and frontend are often written in different languages (e.g., PHP, Python, or Ruby for the backend). This increases the complexity and makes code management more challenging, especially for teams.

After working in e-commerce for several years, Michał and I set out to build the fastest and most compelling storefront for small to medium-sized merchants. Fast e-commerce sites are crucial because slow pages hurt sales [1]. Unfortunately, performance issues are still very common. The beauty of Your Next Store is its simplicity. No additional tools and no databases - just Next.js and Stripe.

On the technical side, we use App Router, React Server Component, Partial Pre-Rendering, Optimistic Updates, and Streaming with Suspense to make the store faster and leaner so it feels almost like a static website.

In summary:

Modern & Popular Stack: Built with Next.js, React.js, and TypeScript, making development faster and hiring easier compared to platforms that use less common frameworks like Shopify’s Liquid.

No Database Needed: Stripe handles the backend, reducing the need for complex infrastructure and simplifying the setup process.

Open Source: Free and open (AGPL), with the option for a commercial license if needed.

This is just the beginning. We want to make YNS even better and easier to use and eventually provide a good, open-source alternative to Shopify.

Check our code at https://github.com/yournextstore/yournextstore

We’d love to hear your thoughts and feedback! What features would you like to see next?

[1]: https://www.deloitte.com/ie/en/services/consulting/research/...


87 comments
thelittleone · 126 days ago
I would never build anything that depends on stripe. Granted payments is a difficult problem due to fraud, chargebacks etc, but stripe has a terrible track record of freezing legitimate accounts and downright ignoring all communications. They force arbitration (using an arbitrator that depends on stripe for revenue), and terms that allow them to invest the funds they freeze. Additionally, their terms prohibit class actions (though not sure if that would hold up).

Show replies

zaiste · 126 days ago
I can no longer edit the post, but here's the working demo of YNS https://demo.yournextstore.com

To see Stripe Link in action, use the email `test@test.com` and then enter `000000` when it activates.

turnsout · 126 days ago
I've wanted to build this exact thing so many times—nicely done! I haven't dug into the details too much, but does it support digital downloads? That and "lead magnet" downloads are two things that would help a lot of stores!

Show replies

busymichael · 126 days ago
The feature I like the most in your demo: the one page checkout. It comes very close to shopify's excellent check out. Nicely done!

WooCommerce should be filling the role of viable self host alternative to Shopify, but it falls short. Even with the plugin ecosystem, it is much harder to run an quality cart and checkout.

Congrats on your launch!

Show replies

dwwoelfel · 126 days ago
How do you handle shipping price calculations? Is that also a feature in Stripe's Product Catalogue?

Show replies