Mehmet Ergülcü

abarow

· 1 min

gonatspostgresqlsveltepos

An open source, modular point of sale (POS) system for grocery shops and restaurants in Turkey, running on Linux. Sales travel up from the register to the store server and on to head office; catalog, prices and cashiers travel down. The project is in its alpha stage.

What is inside?

  • Three tiers: register, store server and head office. Every tier keeps its own data in its own PostgreSQL, and between tiers data flows only as events over NATS JetStream.
  • Selling without internet: the register keeps selling without the tiers above it; events go up once the connection is back.
  • Events that are never lost or counted twice: an outbox, de-duplication by event id, an application-level delivery receipt and sequence numbers.
  • Grocery or restaurant: the sales core is shared, and the part that depends on the sector is a separate module.
  • A light register: every service is its own container (Podman + systemd Quadlet), written in Go; the screen is a Svelte application running in Chromium.
  • Approved updates: signed channels (test, pilot, prod), approval on the screen, rollback if unhealthy.
  • Three machines for head office: an optional highly available head office with Patroni, etcd and HAProxy.

The architecture explained in diagrams: From the register to head office: the architecture of abarow, in diagrams

Source code (Apache 2.0): github.com/abarow/kasadan-merkeze-sistem-abarow

© 2026 Mehmet Ergülcü SvelteKit · Tailwind · <1 KB JS