Skip to content
Back to Portfolio
Enterprise Platform2024 – 2025Software Engineer (Mid-level)

SAMB — Distribution ERP Services

Core ERP services (Sales Order, Shipment, Master Data, Settlement) built with Go and Echo, plus a standardized React frontend.

ReactRefine.jsGoEchoMySQLKeycloakFigma
Overview

About This Project

At PT Sarana Abadi Makmur Bersama, I helped build a distribution ERP from zero to production. I owned the React frontend standard for the team and developed several core backend services, while also acting as UI/UX designer at the CTO's request.
Challenge

The Problem

The application was built from scratch, and the team needed both consistency across a growing React codebase and reliable delivery of brand-new microservices — with no established conventions or CI/CD in place.
Solution

How We Solved It

I built and owned the frontend standardization (component structure, architecture, conventions, and usage guides), established CI/CD for the microservices, and delivered core services — Sales Order, Shipment, Master Data, and Settlement — with Go and the Echo framework over MySQL.
Flow

How It Works

  1. 1

    Sign-in and branch scoping

    Users authenticate through Keycloak; service-identity-access decodes the JWT and passes role and branch groups to downstream services as context. Queries are filtered by branch, so each user only sees data for the branches they belong to.

  2. 2

    Customer PO to Sales Order

    Sales staff enter a Customer Purchase Order in the web UI, and service-sales-order validates items and prices against service-master. Document numbers such as CPO and SO follow configurable naming series.

  3. 3

    Credit limit check and multi-tier approval

    When the Sales Order is generated, the customer's credit is checked against service-credit-limit over gRPC. Orders that need sign-off go to service-approval, where approvers bulk-approve or reject them at tiers from branch to area to head office.

  4. 4

    Warehouse picking and shipment assignment

    Approved orders are picked and packed in the Javelin WMS, and delivery documents are printed through service-print (BIRT). service-shipment then creates the delivery manifest and assigns a driver.

  5. 5

    Delivery and proof of delivery

    Drivers use the Android driver app (Kotlin, Jetpack Compose) to view assigned deliveries, navigate with offline OpenStreetMap and capture a photo proof of delivery with CameraX. The photos are stored in MinIO through service-storage, and the shipment is marked delivered.

  6. 6

    Invoicing

    service-invoice records proof of delivery against receivable shipments and issues invoices with idempotency protection so retried requests do not create duplicates. Corrections and returns go through service-sales-return and service-debit-note.

  7. 7

    Collection and settlement

    service-collection builds invoice-exchange (tukar faktur) bills and collector assignments, and field collectors use the collection Android app to visit customers, submit collected documents and record payments. A cashier then verifies the payments before the invoice is settled, and RabbitMQ carries async events and audit logs between services.

Features

Key Capabilities

📐

Frontend Standardization

Component structure, architecture, conventions, and usage guides.
🧩

Core Services

Sales Order, Shipment, Master Data, and Settlement services.
⚙️

CI/CD for Microservices

Established and managed build, test, and deploy pipelines.
🖌️

UI/UX Design

Designed web/mobile interfaces and corporate visuals at the CTO's request.
Technical

Under the Hood

Frontend
React.js with Refine.js, Tailwind CSS, MUI, and Shadcn UI.
Backend
Go with the Echo framework over MySQL, secured with Keycloak.
Tooling
Figma, GitHub, Redmine, and Harbor with CI/CD.
Results

Impact & Outcomes

Established a frontend standard that improved team consistency and maintainability

Delivered core ERP services from scratch to production

Bridged engineering and design, covering UI/UX in addition to code

Reflection

What I Learned

Owning both a standard and the services built on it showed me how much a shared convention accelerates a whole team — the standard outlived any single feature.

Other Projects