Skip to content
All work

Work 01 / 10

Syafrilverse Studio — Operations System for a Service Business

The back office behind syafrilverse.id: a lead inbox fed by the contact form and price estimator, clients and projects, numbered invoices with PDF print, plus the site's catalogue and pricing — behind two-factor login. The site's lead chatbot runs on a Rust engine.

Type
Personal project
Stage
Live
Stack
SvelteKit · Svelte 5 · TypeScript · Rust · Supabase · PostgreSQL · Tailwind CSS · Zod · Vitest

Case study

The problem, and how I answered it.

01 · Challenge

A one-person service business usually keeps leads in email, prices in a spreadsheet, and invoices in separate documents. The numbers on the site, in the quote, and on the invoice drift apart, and nothing says which lead is still waiting for a reply.

02 · Approach

One database feeds both the public site and the panel: prices edited in Studio are used directly by the services page, the estimator, and Google structured data. Every table is guarded by row-level security that requires a two-factor session, every form is validated on the server, and invoice numbers are issued by a database trigger on send so they never collide. Rebuilt from Next.js to SvelteKit with the domain logic moved over without being rewritten, guarded by more than 200 automated tests. The site's lead chatbot runs on a separate Rust engine: answers pass moderation, quota and budget are enforced in the database, and its leads land in the same inbox.

03 · Outcome

Studio brings leads, proposals, jobs, and invoicing into one workflow. An accepted proposal can become a job and a draft deposit invoice. The project portal lets clients check progress and invoices. The samples below use fictional data and the same components as the client pages.

04 · Tech stack

  • SvelteKit
  • Svelte 5
  • TypeScript
  • Rust
  • Supabase
  • PostgreSQL
  • Tailwind CSS
  • Zod
  • Vitest