← All work
03 — Case study · Freelance2026

Saruslighting

A lamp shop where ordering feels like ordering a drink — pick a shade, pick a base, get your code.

saruslighting.mp4
00:00 / 00:00

The problem

A small Cambodian maker of 3D-printed lamps needed to sell online: phone-first, no payment gateway, no accounts — and twenty colour combinations that feel fun to pick, not like a spreadsheet.

What I built

A storefront styled like a Phnom Penh drink-stall menu. Pick a numbered shade and a lettered base, the page pours into your colour, the real 3D lamp recolours to match, and the order lands straight in the owner’s Telegram.

Under the hood

  1. 01Real 3D lamp models (Three.js, Draco-compressed from the owner’s STL files) recolour live to the chosen shade and base.
  2. 02Bun + Hono order API on Railway checks every order against its own catalogue and prices it server-side.
  3. 03Orders go straight to the owner’s Telegram — no payment gateway or database to run — with retries when Telegram rate-limits.
  4. 04Per-IP rate limit, request-size limit and a CORS allowlist keep the order endpoint from being spammed.

Stack

  • Nuxt
  • Three.js
  • GSAP
  • Bun
  • Hono
Next projectDangkao 852 →