Skip to main content
Product · 2026

Avtodom

An oil-change station with a motor-oil shop

Industry
Car service / oil change
Format
Accounting PWA for the till, warehouse and owner, with a Telegram bot
Year
2026
Stack
Rust · PostgreSQL 16 · React 19 · Axum
  • 1 670

    automated tests, server and client

  • 196

    recorded architecture decisions

  • 263

    server API routes

  • 95

    event types in owner's Telegram feed

Admin panel

The back office behind the storefront

Customers see the site; the team runs the business here — orders, catalog, people and numbers in one place.

avtodom / admin
Till: an oil change with the car's historyCustomer car's oil-change logShift, cash accounts and staff earnings

Review

An accounting system for an oil-change station with a motor-oil shop: till, warehouse, customers with an electronic oil-change log, staff pay and the owner's daily profit. It runs on the till PC, the warehouse laptop and the owner's phone, and the till keeps selling without internet.

The server is Rust (Axum, SQLx) on PostgreSQL 16; one React PWA serves the till, the warehouse and the owner's phone. Money is stored in whole tyiyn and oil in millilitres, so a canister and oil poured by the litre come from the same stock, and stock and cost are always the sum of movements. Around the core sit a Telegram bot, WhatsApp messages, Optima bank QR payments, supplier-invoice photo parsing and print stations for receipts, oil-log stickers and labels.

Posted documents cannot be edited or deleted: 48 tables are protected by database triggers, a mistake is fixed with a reversal, and repeating an operation with the same op_id never creates a duplicate. The till first puts every receipt into a queue on the device, so sales do not stop when the connection drops. The rules live in 40 specifications and 196 ADRs and are checked by about 1,700 automated tests, 250 of them end-to-end in the browser.

  • Rust
  • PostgreSQL
  • React
  • PostgreSQL 16
  • React 19
  • Axum
  • SQLx
  • TypeScript
  • Vite
  • Tailwind CSS 4
  • PWA (Workbox, IndexedDB)
  • Playwright
  • Telegram Bot API
  • WhatsApp Cloud API
  • Docker Compose
  • Caddy

Techniques

  1. 01

    Oil-change till

    Canister or oil by the litre, service type, master and his rate, customer, car and mileage in one receipt. The barcode scanner works as a keyboard, a second screen shows the bank QR and takes the customer's signature for a debt, and receipts queue on the device when offline.

  2. 02

    Electronic oil-change log

    Every service receipt writes the oil, filters, mileage and next change into the car's log; old paper records can be added by hand. The log prints as stickers on the till printer, and customers see their cars, reminders and loyalty points in the Telegram bot.

  3. 03

    Owner's money and profit

    Shifts and cash accounts, master and cashier pay, expenses, debts and reconciliation acts, profit by day and period. Admins get 35 separate permissions and never receive cost or margin from the server; the owner gets a phone dashboard and a Telegram feed of 95 event types.

Palette

  • #F1F5F9
  • #0F172A
  • #0284C7
  • #047857
Next workKyrgyzSoul TravelTour operator: cultural and adventure tours across Kyrgyzstan

Similar project?

20 minutes — we'll discuss your task and give an honest assessment. No strings attached.

Message us on WhatsApp