Small batch · baked today

A little sweet for your day.

Thoughtful cakes, buttery pastries and joyful treats made in tiny batches in Kuala Lumpur.

Shop the treats
Pick a mood

Our categories

Find something soft, crisp, gooey or deeply chocolatey. Every item is stocked in the learning API.

Why PetitBakery

Good ingredients. Kind details.

Our recipes are made for gifting, sharing and keeping one for later. The storefront is intentionally simple so you can see every step from browser click to database write.

01 · FreshBaked in small batches, never hidden behind mystery stock.
02 · ClearServer totals are the source of truth at checkout.
03 · LearnablePlain HTML, JavaScript and Hono you can change confidently.
Made today

Most loved treats

Search the catalogue, open a product, and add a treat to the local cart.

Loading treats…

Weekend box

A classic box for the table.

Pair a buttery pastry with something chocolatey and delivery is free over RM80.

Build your box
Glazed pastryChocolate dessert
Kind words

Loved by our customers

★★★★★

“The little details make ordering feel calm, and the cake arrived exactly as promised.”

— Aina, first-time customer
★★★★★

“A lovely example app because I can see where the browser ends and the API begins.”

— Ray, student baker
★★★★★

“The weekend box disappeared before dinner. The cookie was the first to go.”

— Mei, repeat customer
Need to know

Frequently asked questions

Do you bake everything in small batches?

Yes. The catalogue stock is intentionally finite so students can see the API and checkout guard inventory.

Is this a real payment flow?

No. The lesson stops at a dummy confirmed order and never collects card details.

Can I change the frontend?

Absolutely. Start on the student branch, run the milestone checks, and use the reference branch whenever you need a working comparison.

Where does the data live?

Products, users and orders live in Cloudflare D1 behind a Hono Worker. The browser only keeps the cart locally.