Munakuy: rebuilding a gift delivery business’s platform
Freelance work for a gift delivery business in Lima. The goal was to take one store that could no longer be safely changed and turn it into one operation that runs three brands from the same catalog.
- Role
- Freelance engineer
- Scope
- API, admin, 3 storefronts, infrastructure
- Status
- Rolling out brand by brand
The business
Munakuy sells gifts in Lima for same-day and scheduled delivery. Most of the year is steady, but a few dates, like Valentine’s and Mother’s Day, bring a large share of the year’s orders in a handful of days. On those days what matters is not the website, but whether the team can actually prepare and deliver everything that was sold.
The owners wanted to open new brands that share the same catalog, stock and delivery team, without running a separate system for each one.
Where it started
The store ran on a stack several major versions behind, on a runtime that had reached end of life, with dependencies that no longer installed cleanly. Every change was risky and deploys were manual.
Before
One brand on a stack that could no longer be safely updated, deployed by hand.
After
One API and an admin for the operations team, with three storefronts sharing one catalog.
Key decisions
Rebuild instead of upgrade
Upgrading in place meant moving several major versions at once across the API, the store and the admin. Rebuilding let me design the data model around the real operation, and keep the old store running untouched until each new one was ready.
One API, several storefronts
All brands share one API and one admin. Each storefront is a thin site on top, so opening a new brand is mostly design and content, not new backend work.
Model the operation, not just the store
- Stock lives in more than one location, and an order reserves it the moment it’s placed.
- Some products are assembled from others, so preparing an order consumes the right components and packaging.
- Delivery rules depend on the occasion: on peak dates the store only offers what the team can fulfill, and only in the time slots they can cover.
- Every order follows one set of states shared by sales, operations and dispatch, with a plain-language manual for the people who use it every day.
Where it is now
The new platform is being rolled out brand by brand. It’s deployed with Kamal on two small servers, and the backend has more than 250 test files, with most of the weight on stock, reservations and order states.
The next step is the same one the business asked for at the start: moving the main brand over and opening the next one from the same admin.