Apotek Kiwi
A product catalogue website and a stock system prototype for one independent pharmacy, written in Indonesian.
Retail catalogue and stock control

Project facts
- Category
- Tools
- Platform
- Web
- Status
- Paused
- When
- October 2026
- Built with
- Next.js, React, TypeScript, Tailwind CSS, Supabase, Postgres, PGlite, Playwright
What it does
Two parts for one pharmacy: a catalogue website with an admin panel for staff, and KiwiOS, a stock system with batches and expiry dates. The site has only run in demo mode; KiwiOS has never been connected to a real database.
- 01
Product catalogue
Search and category filters over the catalogue, which holds example products for now, each with its own page. It is not a shop: each product has a button to ask about it, and there is no cart.

The catalogue filtered to one category. Shown with the site’s example products. - 02
Product pages
Each product shows its category, unit and description, a note that availability is updated by hand, and a way back to the catalogue.

One product’s page, in Indonesian. Shown with the site’s example products. - 03
Admin for staff
Staff add, edit, hide and feature products and manage categories. Photos are resized and saved as WebP in the browser before upload. In demo mode every form can be tried and nothing is saved.

The staff side, in demo mode. Shown with the site’s example products.
KiwiOS stock ledger
Products, batches and suppliers, with a stock ledger that can only be added to. Sales take from the batch that expires first, and expiry dates are watched on a dashboard.
Roles kept by the database
Owner, pharmacist, cashier and inventory staff each have their own permissions, enforced by Postgres row-level security and tested against an in-memory Postgres.