TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

285 pointsby zaiste8 months 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.<p>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.<p>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.<p>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.<p>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.<p>In summary:<p>Modern &amp; 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.<p>No Database Needed: Stripe handles the backend, reducing the need for complex infrastructure and simplifying the setup process.<p>Open Source: Free and open (AGPL), with the option for a commercial license if needed.<p>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.<p>Check our code at <a href="https:&#x2F;&#x2F;github.com&#x2F;yournextstore&#x2F;yournextstore">https:&#x2F;&#x2F;github.com&#x2F;yournextstore&#x2F;yournextstore</a><p>We’d love to hear your thoughts and feedback! What features would you like to see next?<p>[1]: <a href="https:&#x2F;&#x2F;www.deloitte.com&#x2F;ie&#x2F;en&#x2F;services&#x2F;consulting&#x2F;research&#x2F;milliseconds-make-millions.html" rel="nofollow">https:&#x2F;&#x2F;www.deloitte.com&#x2F;ie&#x2F;en&#x2F;services&#x2F;consulting&#x2F;research&#x2F;...</a>

31 comments

thelittleone8 months 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).
评论 #41506843 未加载
zaiste8 months ago
I can no longer edit the post, but here&#x27;s the working demo of YNS <a href="https:&#x2F;&#x2F;demo.yournextstore.com" rel="nofollow">https:&#x2F;&#x2F;demo.yournextstore.com</a><p>To see Stripe Link in action, use the email `test@test.com` and then enter `000000` when it activates.
turnsout8 months ago
I&#x27;ve wanted to build this exact thing so many times—nicely done! I haven&#x27;t dug into the details too much, but does it support digital downloads? That and &quot;lead magnet&quot; downloads are two things that would help a lot of stores!
评论 #41504407 未加载
busymichael8 months ago
The feature I like the most in your demo: the one page checkout. It comes very close to shopify&#x27;s excellent check out. Nicely done!<p>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.<p>Congrats on your launch!
评论 #41503103 未加载
评论 #41506778 未加载
评论 #41507461 未加载
dwwoelfel8 months ago
How do you handle shipping price calculations? Is that also a feature in Stripe&#x27;s Product Catalogue?
评论 #41503200 未加载
评论 #41505894 未加载
qianli_cs8 months ago
If it doesn&#x27;t need a database, then how does it manage inventory? For example, what happens if multiple people try to buy the same products but you don&#x27;t have enough inventory?
评论 #41508799 未加载
maaaaattttt8 months ago
Tried the demo and as people report it&#x27;s very well done and fast! Good job!<p>Just wanted to let you know that I stumbled upon a bug whilst removing products from the cart (setting quantity to 0) it started refreshing and the interface stoped responding. Maybe this wasn&#x27;t due to the action but rather to the current traffic? Anyway just a head&#x27;s up.
评论 #41512705 未加载
mmcwilliams8 months ago
This is pretty slick. I like that you have Umami support. It would be nice to wrap all of this up in a Dockerfile but that wouldn&#x27;t be too hard to do for my own purposes.<p>It&#x27;s been a while since I&#x27;ve used Stripe outside of the subscription features but how hard would it be to support coupon codes or sales? Is there a plan to support this?<p>Great work!
评论 #41508844 未加载
todotask8 months ago
It&#x27;s fast because your demo prefetches the listings when the mouse cursor hovers or taps, which is possible with traditional e-commerce, I dislike that kind of UX that are wasting user data usage. Is there an option to disable prefetching?
评论 #41510333 未加载
评论 #41505532 未加载
wired_devil8 months ago
Nice! I was searching for something like this! Jus got a install error: corepack install Adding pnpm@9.9.0+sha512.60c18acd144bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1 to the cache... Internal Error: Mismatch hashes. Expected 60c18acd144bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1, got 60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1
评论 #41508976 未加载
评论 #41504499 未加载
ctrlGsysop8 months ago
Nice setup. I hope you and the team succeed! When new ecomm systems fire up every couple years, I always hope B2B functions (volume pricing, accounts, wholesale) get to the front of the list but alas most focus on B2C - I get it, founder backgrounds with consumer products usually drives the initiative. But often the wake is a 1k dead small stores and a short product life because no PMF. But you can get tech debt lock-in with B2B - to possibly help extend your runway ;)<p>But of course, stick to your roadmap. It’s nice seeing you saying ‘no’ to things.
评论 #41510322 未加载
atrus8 months ago
Oh wow, I actually built something similar using python&#x2F;Flask: <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;atrus6&#x2F;simple_shop" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;atrus6&#x2F;simple_shop</a><p>The biggest difference between ours is that I used a local csv file as the source of truth. This synced up to Stripe as I felt Stripe really bogged down in the admin area once you hit a few hundred products, as well a working with multiple product images.<p>Do these also sync with Google and Facebook as well? That&#x27;s def a nice feature for additional sales.
评论 #41504541 未加载
kennywinker8 months ago
One limitation of using stripe as a backend, is that many online sellers end up using multiple marketplaces. I sell via my web store (stripe backed), via tindie, and via reverb.com. I started building an admin app to handle generating shipping labels and tracking order status. My initial version used stripe metadata to store all this, and it worked great - but once i started selling elsewhere, i had to use a traditional db backend to store data associated with those orders.
评论 #41509547 未加载
stopachka8 months ago
Tried the demo — _very_ snappy!<p>I was surprised to hear there was no database needed! How does that work? I guess you can cache most of the requests to stripe? What kind of data can you store on stripe?
评论 #41501642 未加载
subarctic8 months ago
I&#x27;m not that well versed in these legal issues, but is the AGPL practical if I want to use this to make an online store and pay a designer to get my own custom look? Also is there a possibility of third party designers&#x2F;developers selling paid themes that work with YourNextStore, and is the licensing compatible with those themes being sold with a non-open-source license?
评论 #41510365 未加载
mbym8 months ago
I’m super excited for this! That demo site is so fast (I love Next.js).<p>And this is awesome: “No additional tools and no [separate] databases - just Next.js and Stripe… Stripe handles the backend”. I once built a website where I stored everything in Stripe. It made it so quick to get started, and I can use the Stripe admin dashboard to make edits.
评论 #41502420 未加载
aloukissas8 months ago
How complete is Stripe&#x27;s tax product? Typically I&#x27;ve seen ecommerce apps use something like Avalara for this.
评论 #41504442 未加载
cranberryturkey8 months ago
Can I import my Etsy store into this? I got a client who is using Etsy and would like to convert them to this instead.
评论 #41501210 未加载
tensor8 months ago
How does the shipping support work? Is it easy to add plugins for different shipping companies?
评论 #41510373 未加载
bbbbbenji8 months ago
Would it be possible to accept traditional bank transfers? The order would be processed by Stripe but payment manually.<p>Has anyone made a script to import products from Woocommerce to Stripe?
redareda98 months ago
Seems really good and fast!<p>Unfortunately not ready to migrate everything over something that could be abandoned soon. Will wait a bit.<p>For now, I&#x27;m trying to move everything to Medusa.<p>Good luck! Promising project
评论 #41509993 未加载
lakomen8 months ago
About to start a web hosting service. I&#x27;m about to write a sales frontend. I picked Google Pay because it&#x27;s free. I might clone it and adapt to use Google Pay.
评论 #41504666 未加载
评论 #41512204 未加载
kungpowpow8 months ago
Is Shopify only used for inventory&#x2F;product management? Does Shopify fully free if you use Stripe as a payment processor?
mrbluecoat8 months ago
Really great start. Would love to see integration middleware support added to the mix, like Celigo, IFTTT and Zapier.
评论 #41509681 未加载
tamimio8 months ago
Looks great! I know stripe is core of it, but is it possible to add crypto currency payments as an option too?
评论 #41504564 未加载
2Gkashmiri8 months ago
Any way to add support for something like razorpay.com ? Stripe is not available everywhere
评论 #41504642 未加载
pstorm8 months ago
I’ve worked in e-commerce for years and the thing that always slows down the sites the most is 3rd party scripts. Are you addressing this? I couldn’t find anything in the repo.<p>Ive had websites slow down 10x just by introducing the Facebook re-targeting script for instance
评论 #41505625 未加载
评论 #41505779 未加载
todotask8 months ago
still think that your users will encounter broken links when you re-deploy a new build to production, which is common in SPAs. Have YNS solved this issue?
评论 #41510379 未加载
bartimor8 months ago
Fingers crossed! A great team behind the project!
评论 #41504645 未加载
Eric_WVGG8 months ago
Thank you, from the bottom of my heart, for naming the project “YourNextStore” instead of “MyNextStore.”
评论 #41510550 未加载
skilly8 months ago
This is an impressive project! Combining latest Next.js and Stripe for a no-db, open-source e-commerce solution is a brilliant choice. It simplifies development and boosts performance with modern tech. Excited to see where YourNextStore goes next!
评论 #41503764 未加载