Skip to content
Damian Marquez

Back to projects

Client project · Sep 2026 – Oct 2026

Repuesthogar — Product Catalog Platform

A product catalog with its own admin panel for an appliance and spare-parts store in Pando, Uruguay. 758 products online; customers ask about any item on WhatsApp.

My role

Sole developer. Requirements with the owner, data modeling, API, admin panel, public site, deployment and DNS.

products online
758
categories
12
admin user: the owner
1
carts or payments, by design
0

Responsibilities by layer

Frontend
React, Vite, TypeScript, Tailwind CSS, Cloudflare Pages
Backend API
Python, FastAPI, JWT auth, Render
Database
PostgreSQL on Neon, Alembic migrations
Images
Cloudinary (upload, storage, delivery)
DNS
Cloudflare (repuesthogar.com and www)

How it fits together

Repuesthogar architectureCustomers and the store owner use a React app on Cloudflare Pages. It calls a FastAPI service on Render, which stores data in PostgreSQL on Neon and images on Cloudinary. Customers send product inquiries through WhatsApp.RESTJWT loginSQLuploadspre-filled messageCustomerany deviceStore owneradmin panelWhatsApp chatReact appCloudflare PagesFastAPIRenderPostgreSQLNeon + AlembicCloudinaryproduct photos
Highlighted lines carry API traffic. The WhatsApp link never touches the backend: it opens a chat with the product name already filled in.

The business problem

The store sells appliance spare parts (original and compatible), tools and household goods. Its range lived in supplier price lists, so customers could not see what was available without calling or visiting.

Prices change often and many sales start with a question (is this the right part for my model?). The owner wanted a catalog people could browse, with the conversation moving to WhatsApp. Not an online shop.

What I was responsible for

Everything technical: turning supplier lists into one consistent product dataset, designing the schema, writing the API, building the public catalog and the admin panel, and deploying all of it on the client's domain.

Backend and API

A FastAPI service exposes the catalog to the public site (products and categories, read-only) and protected endpoints for the admin panel to create, update and delete products and upload images.

The schema is defined with SQLAlchemy models and changed only through Alembic migrations, so the database can be recreated or moved without hand-written SQL.

Data and images

PostgreSQL runs on Neon. Product records hold name, code, category, description and the image URL.

Photos are uploaded from the admin panel to Cloudinary, which stores them and serves them from its CDN. The API keeps only the URL, so the API server never stores or serves image files.

Admin access and security

The admin panel lives on its own route, separate from the public catalog, and requires login. Authentication uses JWT with a hashed password; the owner can change the password from the panel.

Email-based password recovery was left out on purpose: there is one known admin and fewer moving parts to secure.

Deployment

The React build is served as static files from Cloudflare Pages. The API runs on Render and connects to Neon. The domain's nameservers moved from the registrar to Cloudflare, and both repuesthogar.com and www point to the same deploy.

Decisions and trade-offs

A catalog, not a shop

No cart, prices or payments. The store already sells through conversations, so the site's job is to start them. Less to build and nothing to keep in sync with a changing price list.

Each layer on the service that fits it

Static hosting for the frontend, a small API host, managed Postgres and an image CDN. Every piece runs on a free or low-cost tier, which matters for a small business.

Images off the API server

Cloudinary handles image storage and delivery, so the API stays small and the owner can upload photos straight from the panel.

Simple auth for a single admin

JWT login, hashed password, change-password screen. Recovery flows were skipped because they add attack surface without value for one known user.