From fe2895722ef1ff1101d60e9af623e7f6541049f0 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 6 Jun 2026 13:31:54 +0000 Subject: [PATCH 1/2] Add Gumroad starter kit packaging (LICENSE, CHANGELOG, listing guide, v1.0.0) Adds commercial use license, changelog, and a ready-to-use Gumroad product listing guide so the codebase can be sold as a digital starter kit. https://claude.ai/code/session_01EwosVBnfg35YSz1bqv3ncS --- CHANGELOG.md | 26 ++++++ GUMROAD_LISTING.md | 196 +++++++++++++++++++++++++++++++++++++++++++++ LICENSE | 49 ++++++++++++ package.json | 2 +- 4 files changed, 272 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md create mode 100644 GUMROAD_LISTING.md create mode 100644 LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..3b9c487 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,26 @@ +# Changelog + +All notable changes to this project are documented here. +Future updates are free for existing customers. + +--- + +## [1.0.0] — 2026-06-06 + +### Initial release + +- KPI dashboard with 6 supply chain metrics (OTIF, Order Cycle Time, Fill Rate, + Inventory Turnover, Stock-out Rate, Average Shipping Cost) +- Monthly trend charts via Recharts +- Searchable and filterable orders table +- Supplier scorecard (Pro plan) +- What-if scenario simulator (Pro plan) +- CSV export (Pro plan) +- Configurable per-user alert thresholds (Pro plan) +- Email/password authentication via Supabase Auth +- Multi-tenant Row Level Security — complete data isolation per user +- Automatic 6-month seed data generation on first login +- Stripe Checkout and Customer Portal integration +- Resend welcome email on registration +- Vercel and Netlify deployment configs +- Step-by-step setup guide diff --git a/GUMROAD_LISTING.md b/GUMROAD_LISTING.md new file mode 100644 index 0000000..d5142fd --- /dev/null +++ b/GUMROAD_LISTING.md @@ -0,0 +1,196 @@ +# Gumroad Product Listing — Copy & Paste Guide + +> This file is for YOUR EYES ONLY. Copy each section into the Gumroad product editor. +> Delete this file before sharing the repo with customers. + +--- + +## PRODUCT NAME (keep under 60 chars) + +``` +Logistics Control Tower — React + Supabase SaaS Starter Kit +``` + +--- + +## TAGLINE / SHORT DESCRIPTION (shown under the title) + +``` +A production-ready multi-tenant SaaS dashboard for supply chain teams. +Built with React 18, TypeScript, Supabase, Stripe and Tailwind CSS — +skip months of boilerplate and ship your own logistics SaaS today. +``` + +--- + +## SUGGESTED PRICE + +- **$79 USD** (individual developer, single seat) +- Optional: add a **$149 team tier** (up to 5 seats) via Gumroad Variants + +--- + +## FULL DESCRIPTION (paste into the Gumroad "Description" field — Markdown supported) + +```markdown +## What you get + +A complete, working SaaS application you can clone, configure and deploy +in under an hour. Every line of code is yours to read, modify and build on. + +--- + +### Live demo +🔗 https://logistics-control-tower-mu.vercel.app + +Sign up for a free account — the workspace seeds six months of realistic +logistics data automatically. No CSV uploads needed. + +--- + +### What's included + +**Full source code (React 18 + TypeScript + Vite)** +- Public landing page with pricing section +- Email/password authentication (Supabase Auth) +- Free vs Pro feature gating +- KPI dashboard with 6 supply chain metrics and trend charts +- Searchable/filterable orders table +- Supplier scorecard with bar charts +- What-if scenario simulator (demand, cost, reliability) +- CSV export +- Configurable alert thresholds (persisted per user) +- Account page with Stripe Customer Portal integration + +**Supabase backend** +- Complete SQL migration (tables, indexes, RLS policies, triggers) +- 4 Edge Functions: Stripe Checkout, Stripe Webhook, Portal Session, Welcome Email +- Row Level Security — every user only sees their own data + +**Stripe billing (ready to use)** +- Checkout session flow (Free → Pro upgrade) +- Webhook handler that updates the subscription and upgrades the user +- Customer Portal for self-service cancellation + +**Resend email integration** +- Welcome email sent automatically on registration + +**Deployment configs** +- `vercel.json` for Vercel (SPA routing) +- `netlify.toml` for Netlify + +**Documentation** +- Step-by-step setup guide (`supabase/SETUP.md`) +- Commented `.env.example` with every variable explained + +--- + +### Tech stack + +| Layer | Stack | +|-------|-------| +| Frontend | React 18, TypeScript, Tailwind CSS, Recharts | +| Backend | Supabase (Postgres + Auth + Edge Functions + RLS) | +| Payments | Stripe Checkout + Customer Portal + Webhooks | +| Email | Resend | +| Deploy | Vercel / Netlify | + +--- + +### Who is this for? + +- **Indie hackers** who want a production-grade SaaS base without spending weeks on auth, billing and data infrastructure +- **Freelancers** building custom logistics/operations dashboards for clients +- **Developers** who want a real-world reference for Supabase + Stripe integration +- **Portfolio builders** who want a technically impressive project to show employers + +--- + +### What you can build with it + +Adapt this template for any **metrics or operations dashboard** SaaS: +- Fleet management KPIs +- Warehouse performance tracker +- Procurement analytics platform +- Any niche supply chain vertical + +Change the KPIs, rename the domain objects, add your own data sources — the +architecture handles multi-tenancy, billing and auth out of the box. + +--- + +### FAQs + +**Do I need to know Supabase or Stripe?** +Basic familiarity helps, but the setup guide walks you through every step. +The whole backend can be configured from the Supabase and Stripe dashboards +without writing a line of SQL or server code. + +**Can I use this for client projects?** +Yes. The commercial license allows unlimited personal and commercial projects. + +**Can I resell this template?** +No. Reselling or redistributing the source code as a template is not permitted +by the license. + +**Do you offer refunds?** +Due to the digital nature of the product, refunds are not available once the +download is accessed. Please review the live demo before purchasing. + +**Will this be updated?** +Yes — all future updates are free for existing customers. + +--- + +### Support + +Found a bug or need help with setup? Email: ulisseposta@outlook.it +Response within 48 hours on business days. +``` + +--- + +## WHAT TO INCLUDE IN THE ZIP DOWNLOAD + +Before zipping, make sure to: +1. **Delete this file** (`GUMROAD_LISTING.md`) +2. Verify `.env.example` has no real keys +3. Verify `.gitignore` excludes `.env.local` +4. Run `npm run build` to confirm the code compiles clean + +Files to include in the zip: +``` +logistics-control-tower/ +├── src/ +├── supabase/ +├── docs/ +├── .env.example +├── .gitignore +├── LICENSE +├── README.md +├── index.html +├── package.json +├── package-lock.json +├── postcss.config.js +├── tailwind.config.ts +├── tsconfig.json +├── tsconfig.node.json +├── vercel.json +├── netlify.toml +└── vite.config.ts +``` + +--- + +## GUMROAD PRODUCT SETTINGS + +| Setting | Value | +|---------|-------| +| Product type | Digital product | +| File format | .zip | +| Call to action | "Get the source code" | +| Category | Development Tools | +| Tags | react, supabase, stripe, saas, typescript, dashboard, logistics, starter-kit | +| Refund policy | No refunds (digital product) | +| License key | Enable (1 per purchase) | +| Ratings | Enable | diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..77e44fc --- /dev/null +++ b/LICENSE @@ -0,0 +1,49 @@ +LOGISTICS CONTROL TOWER — COMMERCIAL USE LICENSE +Version 1.0 — 2026 + +Copyright (c) 2026 Giuseppe Posta + +───────────────────────────────────────────────────────────────────────────── +GRANT OF LICENSE +───────────────────────────────────────────────────────────────────────────── + +By purchasing this product you are granted a non-exclusive, perpetual, +worldwide license to use the source code included in this package +("the Software") under the following terms: + +PERMITTED USES + ✓ Use the Software to build unlimited personal projects + ✓ Use the Software to build unlimited commercial/client projects + ✓ Modify the source code to fit your own requirements + ✓ Deploy the resulting application to any hosting provider + ✓ Keep all revenue generated by applications you build with the Software + +PROHIBITED USES + ✗ Resell, sublicense, or redistribute the Software (or any substantially + unmodified version of it) as a template, starter kit, boilerplate, + code snippet, or any other downloadable product + ✗ Share your purchase with other individuals or organisations + ✗ Claim authorship of the original template or design + +───────────────────────────────────────────────────────────────────────────── +ONE SEAT PER PURCHASE +───────────────────────────────────────────────────────────────────────────── + +Each purchase covers a single developer seat. If multiple team members need +access to the source code, each member requires a separate purchase. + +───────────────────────────────────────────────────────────────────────────── +DISCLAIMER OF WARRANTIES +───────────────────────────────────────────────────────────────────────────── + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE +USE OF OR INABILITY TO USE THE SOFTWARE. + +───────────────────────────────────────────────────────────────────────────── +CONTACT +───────────────────────────────────────────────────────────────────────────── + +Questions about this license: ulisseposta@outlook.it diff --git a/package.json b/package.json index 821dab5..73024a5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logistics-control-tower", "private": true, - "version": "0.1.0", + "version": "1.0.0", "type": "module", "scripts": { "dev": "vite", From ff8b0725114f5122c3ca00149e0be9144999070d Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 6 Jun 2026 13:37:40 +0000 Subject: [PATCH 2/2] Revert Gumroad packaging files Removes LICENSE, CHANGELOG.md, GUMROAD_LISTING.md and reverts version to 0.1.0. https://claude.ai/code/session_01EwosVBnfg35YSz1bqv3ncS --- CHANGELOG.md | 26 ------ GUMROAD_LISTING.md | 196 --------------------------------------------- LICENSE | 49 ------------ package.json | 2 +- 4 files changed, 1 insertion(+), 272 deletions(-) delete mode 100644 CHANGELOG.md delete mode 100644 GUMROAD_LISTING.md delete mode 100644 LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 3b9c487..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,26 +0,0 @@ -# Changelog - -All notable changes to this project are documented here. -Future updates are free for existing customers. - ---- - -## [1.0.0] — 2026-06-06 - -### Initial release - -- KPI dashboard with 6 supply chain metrics (OTIF, Order Cycle Time, Fill Rate, - Inventory Turnover, Stock-out Rate, Average Shipping Cost) -- Monthly trend charts via Recharts -- Searchable and filterable orders table -- Supplier scorecard (Pro plan) -- What-if scenario simulator (Pro plan) -- CSV export (Pro plan) -- Configurable per-user alert thresholds (Pro plan) -- Email/password authentication via Supabase Auth -- Multi-tenant Row Level Security — complete data isolation per user -- Automatic 6-month seed data generation on first login -- Stripe Checkout and Customer Portal integration -- Resend welcome email on registration -- Vercel and Netlify deployment configs -- Step-by-step setup guide diff --git a/GUMROAD_LISTING.md b/GUMROAD_LISTING.md deleted file mode 100644 index d5142fd..0000000 --- a/GUMROAD_LISTING.md +++ /dev/null @@ -1,196 +0,0 @@ -# Gumroad Product Listing — Copy & Paste Guide - -> This file is for YOUR EYES ONLY. Copy each section into the Gumroad product editor. -> Delete this file before sharing the repo with customers. - ---- - -## PRODUCT NAME (keep under 60 chars) - -``` -Logistics Control Tower — React + Supabase SaaS Starter Kit -``` - ---- - -## TAGLINE / SHORT DESCRIPTION (shown under the title) - -``` -A production-ready multi-tenant SaaS dashboard for supply chain teams. -Built with React 18, TypeScript, Supabase, Stripe and Tailwind CSS — -skip months of boilerplate and ship your own logistics SaaS today. -``` - ---- - -## SUGGESTED PRICE - -- **$79 USD** (individual developer, single seat) -- Optional: add a **$149 team tier** (up to 5 seats) via Gumroad Variants - ---- - -## FULL DESCRIPTION (paste into the Gumroad "Description" field — Markdown supported) - -```markdown -## What you get - -A complete, working SaaS application you can clone, configure and deploy -in under an hour. Every line of code is yours to read, modify and build on. - ---- - -### Live demo -🔗 https://logistics-control-tower-mu.vercel.app - -Sign up for a free account — the workspace seeds six months of realistic -logistics data automatically. No CSV uploads needed. - ---- - -### What's included - -**Full source code (React 18 + TypeScript + Vite)** -- Public landing page with pricing section -- Email/password authentication (Supabase Auth) -- Free vs Pro feature gating -- KPI dashboard with 6 supply chain metrics and trend charts -- Searchable/filterable orders table -- Supplier scorecard with bar charts -- What-if scenario simulator (demand, cost, reliability) -- CSV export -- Configurable alert thresholds (persisted per user) -- Account page with Stripe Customer Portal integration - -**Supabase backend** -- Complete SQL migration (tables, indexes, RLS policies, triggers) -- 4 Edge Functions: Stripe Checkout, Stripe Webhook, Portal Session, Welcome Email -- Row Level Security — every user only sees their own data - -**Stripe billing (ready to use)** -- Checkout session flow (Free → Pro upgrade) -- Webhook handler that updates the subscription and upgrades the user -- Customer Portal for self-service cancellation - -**Resend email integration** -- Welcome email sent automatically on registration - -**Deployment configs** -- `vercel.json` for Vercel (SPA routing) -- `netlify.toml` for Netlify - -**Documentation** -- Step-by-step setup guide (`supabase/SETUP.md`) -- Commented `.env.example` with every variable explained - ---- - -### Tech stack - -| Layer | Stack | -|-------|-------| -| Frontend | React 18, TypeScript, Tailwind CSS, Recharts | -| Backend | Supabase (Postgres + Auth + Edge Functions + RLS) | -| Payments | Stripe Checkout + Customer Portal + Webhooks | -| Email | Resend | -| Deploy | Vercel / Netlify | - ---- - -### Who is this for? - -- **Indie hackers** who want a production-grade SaaS base without spending weeks on auth, billing and data infrastructure -- **Freelancers** building custom logistics/operations dashboards for clients -- **Developers** who want a real-world reference for Supabase + Stripe integration -- **Portfolio builders** who want a technically impressive project to show employers - ---- - -### What you can build with it - -Adapt this template for any **metrics or operations dashboard** SaaS: -- Fleet management KPIs -- Warehouse performance tracker -- Procurement analytics platform -- Any niche supply chain vertical - -Change the KPIs, rename the domain objects, add your own data sources — the -architecture handles multi-tenancy, billing and auth out of the box. - ---- - -### FAQs - -**Do I need to know Supabase or Stripe?** -Basic familiarity helps, but the setup guide walks you through every step. -The whole backend can be configured from the Supabase and Stripe dashboards -without writing a line of SQL or server code. - -**Can I use this for client projects?** -Yes. The commercial license allows unlimited personal and commercial projects. - -**Can I resell this template?** -No. Reselling or redistributing the source code as a template is not permitted -by the license. - -**Do you offer refunds?** -Due to the digital nature of the product, refunds are not available once the -download is accessed. Please review the live demo before purchasing. - -**Will this be updated?** -Yes — all future updates are free for existing customers. - ---- - -### Support - -Found a bug or need help with setup? Email: ulisseposta@outlook.it -Response within 48 hours on business days. -``` - ---- - -## WHAT TO INCLUDE IN THE ZIP DOWNLOAD - -Before zipping, make sure to: -1. **Delete this file** (`GUMROAD_LISTING.md`) -2. Verify `.env.example` has no real keys -3. Verify `.gitignore` excludes `.env.local` -4. Run `npm run build` to confirm the code compiles clean - -Files to include in the zip: -``` -logistics-control-tower/ -├── src/ -├── supabase/ -├── docs/ -├── .env.example -├── .gitignore -├── LICENSE -├── README.md -├── index.html -├── package.json -├── package-lock.json -├── postcss.config.js -├── tailwind.config.ts -├── tsconfig.json -├── tsconfig.node.json -├── vercel.json -├── netlify.toml -└── vite.config.ts -``` - ---- - -## GUMROAD PRODUCT SETTINGS - -| Setting | Value | -|---------|-------| -| Product type | Digital product | -| File format | .zip | -| Call to action | "Get the source code" | -| Category | Development Tools | -| Tags | react, supabase, stripe, saas, typescript, dashboard, logistics, starter-kit | -| Refund policy | No refunds (digital product) | -| License key | Enable (1 per purchase) | -| Ratings | Enable | diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 77e44fc..0000000 --- a/LICENSE +++ /dev/null @@ -1,49 +0,0 @@ -LOGISTICS CONTROL TOWER — COMMERCIAL USE LICENSE -Version 1.0 — 2026 - -Copyright (c) 2026 Giuseppe Posta - -───────────────────────────────────────────────────────────────────────────── -GRANT OF LICENSE -───────────────────────────────────────────────────────────────────────────── - -By purchasing this product you are granted a non-exclusive, perpetual, -worldwide license to use the source code included in this package -("the Software") under the following terms: - -PERMITTED USES - ✓ Use the Software to build unlimited personal projects - ✓ Use the Software to build unlimited commercial/client projects - ✓ Modify the source code to fit your own requirements - ✓ Deploy the resulting application to any hosting provider - ✓ Keep all revenue generated by applications you build with the Software - -PROHIBITED USES - ✗ Resell, sublicense, or redistribute the Software (or any substantially - unmodified version of it) as a template, starter kit, boilerplate, - code snippet, or any other downloadable product - ✗ Share your purchase with other individuals or organisations - ✗ Claim authorship of the original template or design - -───────────────────────────────────────────────────────────────────────────── -ONE SEAT PER PURCHASE -───────────────────────────────────────────────────────────────────────────── - -Each purchase covers a single developer seat. If multiple team members need -access to the source code, each member requires a separate purchase. - -───────────────────────────────────────────────────────────────────────────── -DISCLAIMER OF WARRANTIES -───────────────────────────────────────────────────────────────────────────── - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE -AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE -USE OF OR INABILITY TO USE THE SOFTWARE. - -───────────────────────────────────────────────────────────────────────────── -CONTACT -───────────────────────────────────────────────────────────────────────────── - -Questions about this license: ulisseposta@outlook.it diff --git a/package.json b/package.json index 73024a5..821dab5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logistics-control-tower", "private": true, - "version": "1.0.0", + "version": "0.1.0", "type": "module", "scripts": { "dev": "vite",