Skip to content
Hoshinfo
All projects

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
Hoshimono storefront home page
The storefront: aisles, fresh picks and the delivery promise up top.

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

  1. 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.

  2. 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

  3. 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

Chicken Adobo recipe with its ingredients list
Recipe to cart: ingredients scale with the servings, and pantry staples start unticked.
Search results for gatas
Search understands Filipino and typos: "gatas" finds six kinds of milk.
Carabao Mangoes product page, sold by weight
A Product sold by weight, with a plain note on how the final price is set.
Hoshimono cart with substitution choices
The cart, with a substitute choice and picker notes for every item.
Checkout with two-hour delivery slots
Checkout holds the chosen two-hour slot while the shopper pays.
Staff stock screen
Staff see what is on the shelf, reserved and free, with low stock flagged.
Hoshimono storefront in dark mode
The storefront in dark mode, which follows the system setting.

On a phone

Hoshimono storefront on a phone
The storefront on a phone.
A product page on a phone
A Product page on a phone.
Next projectHoshiask