All articles
open-sourceclinuxte-commerceside-project

Honey, I Accidentally Built an E-Commerce Framework

Gunjan Patel

Gunjan Patel

21 May 2026

Honey, I Accidentally Built an E-Commerce Framework

"વહેંચવાથી જ્ઞાન વધે છે."

Basically: Knowledge grows by sharing

TL;DR — In my last post, I built a $0/month e-commerce store for my wife, but making it reusable for others was harder than expected. So, I turned the whole architecture into an open-source monorepo called the Tvashtr Suite. Now, you can run a single terminal command and get a fully functional, serverless, spreadsheet-powered storefront in seconds.


If you read my last post, you know the story. Pushed by my budget-conscious brother and my wife's need for a storefront, I built an entire e-commerce architecture that costs exactly $0/month to run. Google Sheets as the database, Cloudflare Workers for the backend, Nuxt for the frontend.

It worked perfectly. People liked the idea. I put the source code for Patel Flours on GitHub and thought, "Great, job done. Now anyone can do it."

Except, they couldn't.

If you actually tried to use that repository for your own business, you'd have to clone it, rip out all the hardcoded pictures of wheat, delete the flour-specific logic, untangle my CSS, and manually figure out how to wire up your own Google Sheet.

It bothered my engineering brain. The whole point of the $0 architecture was to remove friction for small businesses. But by giving them a messy, hardcoded repo, I had just replaced financial friction with technical friction.

I realized I didn't just need to share the code. I needed to build a framework.


📦 Enter Tvashtr: The "Store-in-a-Box"

Over the last few months, I've been quietly tearing down the Patel Flours codebase and rebuilding it from the ground up. I extracted the core logic, the UI components, the checkout flow, and the Google Sheets integration into independent, reusable packages.

I named it Tvashtr (after the Vedic artisan god). It is a full-fledged, modular e-commerce suite built on Nuxt v4 and Tailwind CSS.

But the part I am most proud of is the developer experience. Instead of cloning a messy repository and deleting code, you now just open your terminal and run:

npx tvashtr create my-new-shop

The CLI asks you a couple of questions (your store name, tagline, etc.) and then magically scaffolds a "Store-in-a-Box".

You don't get a blank white screen. You get a gorgeously designed, premium-looking storefront instantly. It generates a Home page, About page, Product listings, Checkout flow, and a Blog. It even sets up internationalization (i18n) and injects your branding out of the box.

All the specific "flour" terminology is gone. It's a completely generic, professional starting point ready for you to sell lighting fixtures (looking at you, big brother), handmade ceramics, or digital art.


🧩 What's Under the Hood?

Tvashtr is built as a modern monorepo. I broke the monolith down into highly focused, plug-and-play packages:

  • @tvashtr/cli: The magic wand that scaffolds the whole project.
  • @tvashtr/ui: Beautiful, accessible, headless-ready Tailwind components.
  • @tvashtr/core: The underlying Nuxt engine handling state and configuration.
  • @tvashtr/checkout: A frictionless, robust cart and checkout flow.
  • @tvashtr/google-sheets: The magic layer that turns your spreadsheet into a highly reliable CMS and database.
  • @tvashtr/notifications: Dynamic multi-channel notification service (Brevo, Telegram) and responsive email template builders.

It still runs on the exact same $0/month architecture I outlined in the first post. Your Google Sheet is still your admin panel. Cloudflare is still handling the backend. But now, the code doing the heavy lifting is cleanly abstracted away into NPM packages.


🚀 Why I'm Proud

Honestly? I am incredibly proud of this project.

It pushed my boundaries as a developer. Building an interactive CLI, managing a complex monorepo, navigating the bleeding edge of Nuxt v4 module compatibility, and generalizing a very specific app into a universal framework was no small feat. It is arguably the most "complete" piece of engineering I've built as a solo developer.

More importantly, it feels like I've finally solved the problem I set out to tackle. Technology should empower creators and small business owners, not gatekeep them behind $30/month subscriptions and complex server setups.

Tvashtr is fully open-source and ready to use today. If you want to see what it looks like, fire up your terminal and run the command.

👉 github.com/gunjanpatel/tvashtr-suite

(And yes, my brother finally admits this is a pretty good deal).