Pietro Fiorillo × LEL Blanquería
Static, ultra-fast online catalog with its own admin panel that triggers its own redeploy on Google Cloud Build every time the client edits a product.
- Client
- LEL Blanquería
- Type
- Static online catalog with a custom admin panel that triggers its own deploy
- Role
- Design, full-stack development, admin panel and infrastructure on Firebase and Google Cloud Build.
- Status
- Live

01The challenge#
LEL Blanquería is a home textiles and household goods store in Villa Regina (Río Negro, Argentina), with a catalog of 85 products and 179 photos. It is a classic small e-commerce problem: the owner needs to change prices, photos and stock himself, but the site has to load instantly and rank well on Google. The usual options, WordPress with a store plugin or a single-page app against a REST API, sacrifice one side or the other: either the site is fast but rigid, or editable but slow.
02The solution#
- 01The public site is pure static HTML (Next.js with output: export), served from Firebase Hosting and its global CDN, with no Node server in production.
- 02The catalog lives in Firestore, editable in real time from an admin panel (/admin) built with the same framework as the store.
- 03When the owner saves a product, a Cloud Function (onDocumentWritten) fires on its own, kicks off a full build on Google Cloud Build and redeploys the site within minutes, with the client never seeing a terminal.
- 04A fallback to a Git-versioned seed catalog when Firebase Admin credentials are missing at build time, so anyone can clone the repository and build the site without depending on production secrets.
- 05A fix for infinite dynamic routes in a static export: the product edit page pre-renders a single placeholder HTML, a Firebase Hosting rewrite rule serves it for any id, and the client component resolves the real product with onSnapshot.
- 06Automatic redirects for renamed product slugs (a previousSlugs field), so shared or indexed links are not lost when a product's name changes.
- 07HomeGoodsStore, BreadcrumbList and Product JSON-LD (with price and availability where it applies), sitemap and robots generated at build time from the real catalog.
- 08An admin SDK marked server-only, so full-permission access to Firestore can never end up in the browser bundle.
03How it is built#
- The owner edits a product in the /admin panel (Firebase Auth)
- The Firestore write triggers the rebuildOnProductChange Cloud Function
- The function kicks off a build on Google Cloud Build: it reads Firestore and generates HTML per product and category
- Firebase Hosting serves the updated static catalog, with no Firestore calls on each visit
04Stack#
- Next.js 16
- React 19
- TypeScript
- Tailwind CSS v4
- Firestore
- Firebase Authentication
- Firebase Storage
- Framer Motion
- Google Cloud Build
- Cloud Functions
- Firebase Hosting
05Why it works#
- CI/CD triggered by a database write rather than a Git push: the business owner edits a product and never sees a repository or a publish button; for him, saving the change is publishing it.
- A placeholder plus a hosting rewrite rule to solve infinite dynamic routes in a static export, instead of switching to a server-backed mode: it keeps the public site fully static and free to host, at the cost of a bit more logic in the admin panel's client.
- A Git-versioned seed catalog as a build fallback, instead of letting the build fail without production credentials: any developer can clone the repository and compile it without requesting access to the production Firestore.
- A custom codec for the specs table instead of forcing a different data model: Firestore does not support nested arrays inside arrays, so it is serialized as an array of objects and resolved on read, documented directly in the code.
06Outcome#
- The owner changes prices, photos and stock from the admin panel and sees the live site updated minutes later, with no developer in the loop.
- A catalog of 85 products and 179 images served as static HTML from Firebase Hosting's CDN, with no cold starts and no server of its own.
- Zero subscription cost to a third-party CMS: all live editing runs on native Google Cloud building blocks.
- Technical SEO treated as part of the design: JSON-LD, sitemap and robots generated from the real catalog, verified real 404s and redirects for renamed slugs.
- Strict separation of server and client credentials, with Firestore rules requiring authentication for any write.
Results and figures published by MANYA Digital for this project.
Other projects
View all projects →
Laura Spanish Online
Bilingual conversion landing page for a Spanish teacher, with real route-level i18n and a structured data graph built for AI search engines.
Next.js · React · TypeScript
Los Luises Sublimación
Online store with an admin panel and automatic deploys for a sublimation and custom printing workshop.
Next.js · React · TypeScript
QBO Imagen Corporativa
A headless corporate site with Sanity CMS and Next.js, exported as a static site and served from Firebase Hosting.
Next.js · React · TypeScript
Want a project like this?
If you need a website, an application or a system for your business, let's talk.
Get in touch