- 2026.12.01 Invoice tracker spreadsheet: spot balances due for follow-up
- 2026.11.30 Google Sheets timesheet: calculate overnight shift hours
- 2026.11.29 Business app development cost: what shapes your quote?
- 2026.11.29 Google Sheets vs a web app: which fits your workflow?
- 2026.11.28 Repair shop parts inventory: tie stock to each work order
- 2026.11.26 Shift handover checklist app: keep unfinished work visible
- 2026.11.25 Importing orders into Google Sheets without duplicate rows
- 2026.11.24 Google Sheets purchase order tracker: flag late deliveries
- 2026.11.22 AI email triage in Sheets: review labels before routing
- 2026.11.22 Google Sheets approval workflow: keep each decision visible
- 2026.11.19 Vehicle inspection checklist app: keep defects from disappearing
- 2026.11.18 Maintenance work order tracker: keep open jobs visible
- 2026.11.16 Expense approval spreadsheet: keep receipts with each claim
- 2026.11.15 Supplier price list CSV: review prices before a catalog update
- 2026.11.15 Google Forms response cleanup: check duplicates before reporting
- 2026.11.14 Customer request tracker spreadsheet: stop losing follow-ups
- 2026.11.13 Combine branch reports in Google Sheets without losing rows
- 2026.11.12 Shop inventory spreadsheet: why counts don't match
- 2026.11.11 Google Forms for Appointments: Form, Calendar, or Booking App?
- 2026.11.09 Invoice data entry to Google Sheets: review before posting
- 2026.11.08 Job site daily report app: capture work before the drive home
- 2026.11.08 Multi-location inventory spreadsheet: stop missing transfers
- 2026.11.06 Reconcile marketplace payouts with your orders in Google Sheets
- 2026.11.01 What to automate first in a small business office: pick one task
- 2026.10.31 Hiring someone to automate a spreadsheet: 5 questions before you sign
- 2026.10.29 Same order submitted twice at once? Stop duplicate rows in Sheets
- 2026.10.24 Slow Google Sheets script on order intake? Read once, write once
- 2026.10.20 Google Sheets CSV export drops leading zeros: keep IDs intact
- 2026.10.16 Google Sheets automation sent the email twice? 6 trigger traps
- 2026.10.16 Stop dragging formulas down in Google Sheets (ARRAYFORMULA)
- 2026.10.15 Filter, total and sort a Google Sheet with one formula (QUERY)
- 2026.10.15 Shift swaps from a phone: one approval, and the roster updates
- 2026.10.14 Google Sheets lookup shows the wrong value: VLOOKUP vs XLOOKUP
- 2026.10.14 Expense app that logs a coffee in two taps and totals in Sheets
- 2026.10.14 Daily check-in app with CSV export you can total in Google Sheets
- 2026.10.13 Stale data on your dashboard: when 'updated' doesn't mean fresh
- 2026.07.28 Tracking staff attendance in Google Calendar: where records break
- 2026.07.26 Google Sheet shared by link: how company data quietly leaks
- 2026.07.23 Form auto-reply emails that annoy customers, and how to fix them
- 2026.07.13 ChatGPT API bill higher than expected? Where the cost leaks
- 2026.07.07 I Vibe-Coded a Real GAS App — the Demo Was Fine, and the Field Broke Everything
- 2026.06.30 So How Do You Actually Vibe Code? Not the GPT App — Claude Code or Codex
- 2026.06.30 You Built a Slick Front End — and It's Stuck on localhost. Now Deploy It. You are here
- 2026.06.30 Vibe Coding 101: Build with AI, Auto-Deploy Free on Cloudflare
- 2026.06.20 Monthly SaaS bill for a simple workflow: rent it or own a tool?
- 2026.06.19 Adding AI to a work app: what it costs each month, and who pays
- 2026.06.19 Automate repetitive office work in Google Sheets with Apps Script
- 2026.06.16 Field inspection app for a small team: paper checklist to phone
- 2026.06.10 Inventory tracking in Google Sheets for one store: where it stops
- 2026.06.08 Is Google Sheets automation free? No server bill, but plan upkeep
- 2026.06.06 Outsource, DIY or SaaS for one workflow: which costs less?
You Built a Slick Front End — and It's Stuck on localhost. Now Deploy It.
AI gave you a gorgeous front end. It only runs on localhost:3000 — a screen only you can see. Per-framework build folders, deploying to Cloudflare (static/SPA) and GAS (Sheets-backed), the 'works locally but breaks deployed' traps, and custom domains — commands included.
Bottom line first: AI built you a slick front end. And it’s at localhost:3000. That’s a screen only you, in the entire world, can see. Not deployed = not built. Two free paths: Cloudflare (static/SPA) or GAS (Google Sheets / account-backed). Five minutes and anyone opens it by link.
localhost means “only on my machine.” Deploy means “anywhere, by link.” Upload your local build output to free hosting and you’re done — it’s two steps: build, then upload the output folder.
First: where does your build output go?
Run npm run build and the static files land in one folder. The folder name differs by framework. Uploading that whole folder is the deploy.
| Framework | Build command | Output folder |
|---|---|---|
| Vite (React/Vue/Svelte) | npm run build | dist |
| Create React App | npm run build | build |
| Astro | npm run build | dist |
| Next.js (static export) | next build (output: 'export') | out |
It splits by what you built
- Static / SPA (Vite, React, Astro, Next static build) → Cloudflare Pages.
- A tool wired to Sheets / Gmail / Drive → Apps Script web app (GAS).
Path A: Cloudflare Pages (static / SPA)
npm run build # creates dist/ (or build/, out/)
npm i -D wrangler
npx wrangler login
npx wrangler pages deploy dist --project-name=my-app --branch=main
→ a https://my-app.pages.dev link, instantly. HTTPS automatic, free.
There’s also a dashboard (git-connected) way: connect a GitHub repo to Cloudflare Pages, set the build command (npm run build) and output folder (dist), and it auto-deploys on every push. Prefer that if you dislike commands.
Put env vars in the Pages settings (or wrangler vars), not in the code. But anything that reaches the front end ends up visible in the browser, so don’t put secrets there.
Path B: GAS web app (Sheets-backed)
npm i -g @google/clasp
clasp login
clasp create --type webapp --title "my-app"
clasp push
clasp deploy # issues the /exec link
The skeleton is about this much — doGet serves the screen, and google.script.run lets the front end call backend functions:
// Code.gs
function doGet() {
return HtmlService.createHtmlOutputFromFile("index");
}
function getData() {
return SpreadsheetApp.openById("SHEET_ID").getSheets()[0].getDataRange().getValues();
}
<!-- index.html -->
<script>
google.script.run.withSuccessHandler((rows) => console.log(rows)).getData();
</script>
→ runs inside your Google account, with Sheets as the DB. Zero server cost.
”Works locally, breaks deployed” — the 5 culprits
Almost everyone stalls here on day one of deploying. Suspect these in order.
Either way
- Build → upload. Build locally, ship only the output.
- Custom domain + HTTPS are free on both. Cloudflare adds a domain in the Pages settings (a few clicks if DNS is on Cloudflare); GAS attaches via Workspace or a proxy. Certificates are automatic.
- To wire it into auto-deploy → the
npm run deploy+ cron in Vibe Coding 101.
In one line
localhost:3000 is a diary only you can read. Static → Cloudflare, Sheets-backed → GAS — upload the build output for free and anyone opens it by link in five minutes. If it breaks, suspect the API address, env vars, and SPA fallback first.
Questions?
Not sure which one you built? Just ask. For the tool to build it with → So how do you actually vibe code?. The full picture → Vibe Coding 101.
Frequently asked questions
- How do I let other people see an app that runs on localhost?
- Upload your build output to free hosting. For a static site or SPA, Cloudflare Pages (wrangler pages deploy dist); for a tool wired to Google Sheets or your account, an Apps Script web app (clasp). Both give you a free link and HTTPS.
- Cloudflare or GAS — which do I pick?
- A static site or SPA (React, Vite, Astro, Next static build) goes to Cloudflare Pages. A tool that works with Google Sheets, Gmail, or Drive data goes to GAS.
- Why does it work locally but break when deployed?
- Usually one of three: an API address hardcoded to localhost, env vars not baked into the build (Vite needs a VITE_ prefix), or a 404 on SPA refresh (the host needs a _redirects fallback to index.html). Calling keys straight from the front end is another common mistake.
- Is deploying really free?
- Small scale is near zero — it runs inside Cloudflare Pages' free tier and Google's free execution quota. Heavy traffic or paid external APIs add cost accordingly.
- 2026.12.01 Invoice tracker spreadsheet: spot balances due for follow-up
- 2026.11.30 Google Sheets timesheet: calculate overnight shift hours
- 2026.11.29 Business app development cost: what shapes your quote?
- 2026.11.29 Google Sheets vs a web app: which fits your workflow?
- 2026.11.28 Repair shop parts inventory: tie stock to each work order
- 2026.11.26 Shift handover checklist app: keep unfinished work visible
- 2026.11.25 Importing orders into Google Sheets without duplicate rows
- 2026.11.24 Google Sheets purchase order tracker: flag late deliveries
- 2026.11.22 AI email triage in Sheets: review labels before routing
- 2026.11.22 Google Sheets approval workflow: keep each decision visible
- 2026.11.19 Vehicle inspection checklist app: keep defects from disappearing
- 2026.11.18 Maintenance work order tracker: keep open jobs visible
- 2026.11.16 Expense approval spreadsheet: keep receipts with each claim
- 2026.11.15 Supplier price list CSV: review prices before a catalog update
- 2026.11.15 Google Forms response cleanup: check duplicates before reporting
- 2026.11.14 Customer request tracker spreadsheet: stop losing follow-ups
- 2026.11.13 Combine branch reports in Google Sheets without losing rows
- 2026.11.12 Shop inventory spreadsheet: why counts don't match
- 2026.11.11 Google Forms for Appointments: Form, Calendar, or Booking App?
- 2026.11.09 Invoice data entry to Google Sheets: review before posting
- 2026.11.08 Job site daily report app: capture work before the drive home
- 2026.11.08 Multi-location inventory spreadsheet: stop missing transfers
- 2026.11.06 Reconcile marketplace payouts with your orders in Google Sheets
- 2026.11.01 What to automate first in a small business office: pick one task
- 2026.10.31 Hiring someone to automate a spreadsheet: 5 questions before you sign
- 2026.10.29 Same order submitted twice at once? Stop duplicate rows in Sheets
- 2026.10.24 Slow Google Sheets script on order intake? Read once, write once
- 2026.10.20 Google Sheets CSV export drops leading zeros: keep IDs intact
- 2026.10.16 Google Sheets automation sent the email twice? 6 trigger traps
- 2026.10.16 Stop dragging formulas down in Google Sheets (ARRAYFORMULA)
- 2026.10.15 Filter, total and sort a Google Sheet with one formula (QUERY)
- 2026.10.15 Shift swaps from a phone: one approval, and the roster updates
- 2026.10.14 Google Sheets lookup shows the wrong value: VLOOKUP vs XLOOKUP
- 2026.10.14 Expense app that logs a coffee in two taps and totals in Sheets
- 2026.10.14 Daily check-in app with CSV export you can total in Google Sheets
- 2026.10.13 Stale data on your dashboard: when 'updated' doesn't mean fresh
- 2026.07.28 Tracking staff attendance in Google Calendar: where records break
- 2026.07.26 Google Sheet shared by link: how company data quietly leaks
- 2026.07.23 Form auto-reply emails that annoy customers, and how to fix them
- 2026.07.13 ChatGPT API bill higher than expected? Where the cost leaks
- 2026.07.07 I Vibe-Coded a Real GAS App — the Demo Was Fine, and the Field Broke Everything
- 2026.06.30 So How Do You Actually Vibe Code? Not the GPT App — Claude Code or Codex
- 2026.06.30 You Built a Slick Front End — and It's Stuck on localhost. Now Deploy It. You are here
- 2026.06.30 Vibe Coding 101: Build with AI, Auto-Deploy Free on Cloudflare
- 2026.06.20 Monthly SaaS bill for a simple workflow: rent it or own a tool?
- 2026.06.19 Adding AI to a work app: what it costs each month, and who pays
- 2026.06.19 Automate repetitive office work in Google Sheets with Apps Script
- 2026.06.16 Field inspection app for a small team: paper checklist to phone
- 2026.06.10 Inventory tracking in Google Sheets for one store: where it stops
- 2026.06.08 Is Google Sheets automation free? No server bill, but plan upkeep
- 2026.06.06 Outsource, DIY or SaaS for one workflow: which costs less?