Hoshimono
A concept online supermarket with same-day delivery slots.
Groceries from browsing to the doorstep: a searchable catalogue, a cart, delivery slots, cash on delivery or online payment, and the staff screens that pick, pack and send every order from one hub.
- Next.js 16
- TypeScript
- PostgreSQL
- Prisma 7
- Better Auth
- Tailwind CSS 4
- Vitest
- Playwright

What it does
- Browse aisles or search in English or Filipino, typos included.
- Fill a cart, choose a substitute for each item, and leave notes for the picker.
- Pick a two-hour delivery slot, then pay by GCash, card or cash on delivery.
- Recipes that add their ingredients to the cart, scaled to the servings.
- Staff screens for orders, picking, dispatch, cash, stock, slots and refunds.
- The whole shop in Filipino, and an installable app with offline basics.
How it is built
- Weighed items, settled fairly
- Items sold by weight charge an estimate at checkout, settle to the packed weight at picking (never above the estimate) and refund the difference in one go.
- The last unit sells once
- Tests race orders for the last unit and carts for one slot against a real Postgres database.
- Payments behind one interface
- PayMongo and a stand-in provider share one interface, and every webhook is deduplicated before it touches an Order.
- A modular monolith
- 13 modules talk only through their index files, enforced by an ESLint rule that has its own test.
- Search on plain Postgres
- Full-text search, trigrams and a Filipino and English synonym list, with no search service to run.
- Checked on every merge
- 391 Vitest tests, 81 Playwright tests with axe accessibility checks, and Lighthouse budgets. 22 decision records explain the choices.
How it fits together
People who use it
Shoppers
Find groceries, fill a cart, choose a delivery time and pay, in English or Filipino.
Staff
Pick and pack the orders, send them out, and keep the stock and refunds in order.
The website
The Hoshimono shop
One website for shoppers and staff, made of 13 parts that each look after one job: the catalogue, the cart, prices, orders, payments, stock, delivery and more.
Built with Next.js 16 · Vercel
What the website relies on
Database
Keeps the products, stock, orders and delivery times, and powers the search.
Built with PostgreSQL
Online payments
Takes payments and gives refunds. Each payment message is checked, so the same payment is never counted twice.
Built with PayMongo
Emails and text messages
Ready to plug in: for now the messages are only written to a log, until real accounts are set up.
Built with Resend · SMS, later
A closer look







On a phone

