02 · Case study

Dek Noi

Back-office software for my auto service mini mart, built with Claude Code: inventory, warehouse and profit reporting.

DEK NOI

Back-office software for my auto service mini mart, built with Claude Code: inventory, warehouse and profit reporting.


Role
Owner and sole engineer
Focus
Inventory and warehouse, Profit and cost reporting, Product performance, AI-assisted development
Stack
  • Next.js
  • React
  • Node.js
  • Supabase
  • Anthropic API
  • Vercel
  • Claude Code
Status
Live

ขอบคุณ · THANK YOU

LIVE

Problem

Dek Noi is my auto service mini mart. Running it well means knowing what’s in the warehouse, what’s on the shelves, and which products actually make money.

Before this, we only had the software that came with our POS. It couldn’t show profit, because it had no way to track the cost of goods sold. It couldn’t track warehouse quantities either.

My role

I own the business and built the software: product decisions, architecture, implementation, testing and deployment, working with Claude Code as my coding agent.

Architecture

Dek Noi is a Next.js web app and PWA, hosted on Vercel, with Supabase as its database. The POS still records sales and holds the product catalog the till uses. Dek Noi pulls the sales data in and tracks everything else. New products and product edits start in Dek Noi and go to the POS through its API.

The app uses the Anthropic API to read receipts and photos of new products. From a product photo it drafts the new product’s name, barcode and description.

Dek Noi data flowSales data flows from the POS into the Dek Noi app. New products and product edits flow from the app back to the POS through its API. The app stores its data in Supabase and sends receipts and product photos to the Anthropic API. The owner uses the app for oversight, and the employee uses it for store and warehouse stock.POSsales inproducts outDek Noi appSupabaseAnthropic APIreceipts · photosowner · oversightemployee · stock
POS sales → Dek Noi app → new products and edits back to the POS through its API. The app runs on Vercel with Supabase as its database, and reads receipts and product photos with the Anthropic API. I use it for oversight; my employee uses it for store and warehouse stock.
Dek Noi overview for the last 30 days: revenue, cost of goods, gross profit, operating costs, losses and net profit, a warning about products with no cost data, and a daily profit and loss chart. The money figures are blurred.

The overview, with the shop’s figures blurred. When sold products have no cost data, it says how much that overstates profit.

Dek Noi products page with four lists: new arrivals, slow movers with the stock value tied up in them, rising stars and fading products, each compared with the prior week. Total revenue is blurred.
Products: new arrivals, slow movers, rising stars and fading products.
Dek Noi inventory screen with the Adjust shelf dialog open for one product: flag for reorder, current shelf count and sell price, four ways to adjust stock, a quantity stepper, and notes.

Adjusting shelf stock. Units can move from the warehouse, arrive straight from a supplier, be set by a physical count, or be marked as lost to damage, expiry or shrinkage.

How I worked with Claude Code

I start by giving Claude the intent. We go back and forth in planning until we are both satisfied. Planning is where I push back and steer it toward what I want. Then Claude writes an implementation plan and uses subagents to help carry it out.

Before anything ships, I review the diffs and test the functionality myself.

Engineering challenges

Streamlining ordering

Ordering started as a manual process. An email alert and the dashboard listed low-stock items, but my employee was the one who could see the real warehouse quantities. They sent me screenshots of what was running low. Then I went to Makro or our other vendors and ordered each product by hand.

Now my employee flags an item in the app, and it goes straight to my ordering list. A “build Makro cart” feature goes through the low-stock list, finds every item we buy from Makro, and adds it to the Makro cart automatically. All I do is review the cart and pay.

Outcome

The system is live and runs the shop’s warehouse and inventory management, reports on profit and costs, and shows which products are performing well and which aren’t. I use it to oversee operations, and my employee uses it to manage stock in the store and the warehouse.