Oct 2026 – Present
MangaKaCR Online Store
The e-commerce site of MangaKaCR, a manga bookstore in San José: catalog, customer accounts, carts, online orders and shipment tracking, wired to the store's own POS.
My roleSole designer and developer: Figma screen designs, storefront, orders API, WhatsApp verification, Correos tracking, SEO and deployment
- storefront pages
- 24
- storefront pages
- React components
- 84
- React components
- lines of TypeScript
- 15k+
- lines of TypeScript

The online store is the second half of the platform behind MangaKaCR's POS: a separate Next.js 16 app in Spanish, built from a complete set of screen designs I created in Figma and live at mangaka.co.cr. Catalog, orders and stock all come from a backend-for-frontend layer I added to the same .NET API, which owns prices, shipping and inventory; the storefront only keeps its own customer sessions.
I was the only person on the project, from designing the screens in Figma to the production deploy, and the staff manage every order from the POS.
Catalog and discovery
- Home, catalog with multi-select filters matching any selected value, an on-sale filter and a biggest-discount sort, live search, product pages, and publisher and collection pages.
- Performance work on both sides: best-sellers load in batches instead of one query per product, related rows skip the total count, public search queries were tuned, and the page texture, footer silhouette and animations were shrunk.
- SEO: robots, a sitemap built per request from every product, collection and publisher (tolerant of API failures), canonical URLs, Open Graph, Product JSON-LD, and noindex on filtered views.
Customer accounts
- Accounts are tied to the same client records the POS uses. Registration looks the cédula up (name from Hacienda when known) and verifies the phone with a 6-digit WhatsApp code sent through Twilio: stored hashed, valid 10 minutes, resendable after 60 seconds and burned after 5 wrong tries.
- Storefront sessions are never accepted by the staff API, so customers can't reach staff routes. The API is reachable only through the storefront's server-side layer.
- Password reset by email, profile editing, order and invoice history with downloads, a wishlist and restock alerts for sold-out products.
Carts, checkout and orders
- A persistent cart per account (local for anonymous visitors and merged on login), with a stock check before adding and whenever quantities change.
- Shipping is quoted from the postal code (inside or outside the GAM, or free pickup). Prices, shipping and stock are always decided by the API, never trusted from the browser.
- Order lifecycle: stock is reserved when an order is placed and released on cancellation. Unpaid orders expire after 3 working hours, counted only inside store hours and while a shift is open. A draft invoice with frozen prices is emitted when payment is marked as paid, and cancelling a paid order within 24 working hours voids it.
- Every status change is audited and emailed to the customer through an outbox, and the invoice is emailed on payment when requested.
- In the POS: a Pedidos list and detail with status and cancel dialogs, an internal order counter, a flag on clients who own a storefront account, and a product preview dialog.
Shipping with Correos de Costa Rica
- Saving the tracking number in the POS ships the order. The storefront's “Estado del pedido” page shows a step tracker and a history that merges the order's own milestones with Correos' tracker cards, reproducing the carrier's public tracker rules and checked against its published test vectors.
- Correos responses are cached for 2 minutes and their events are stored, so ones Correos stops listing aren't lost. If Correos is down the order's own steps still come back, and the tracking loads with Suspense so the rest of the page shows at once.
- Correos only answers connections from Costa Rica and the VPS isn't one, so I built a small autossh container that opens a reverse SSH tunnel from a computer in the country and exposes a SOCKS5 proxy, reachable only from Docker, that the API uses for every Correos call.
Delivery
- Deployed on the store's VPS through Coolify with its own pipeline, branded error pages, a favicon and icons, a developer credit and a banner announcing the domain move.
- Work flows through feature branches and pull requests into a development branch, with the API changes shipped first whenever the storefront depends on them.
Built with
Screenshots
Next project
The Gilded Quill →



