What I was solving
In Algeria, the gap between gross and net pay catches most workers off guard, and the rules behind it are scattered across décrets, the Journal Officiel and each year's Loi de Finances. CNAS contributions, the six-bracket progressive IRG, allowances and exemption thresholds turn a payslip into an opaque document. Anyone trying to work out a net salary, a tax bill, a retirement pension or a customs fee had no single trustworthy Algerian tool to turn to, just manual math with real room for error.
How I approached it
Hsabet turns those rules into instant, trustworthy answers. Each calculator is built as a data definition rather than a page: a config, year-versioned rates, a pure calculate function and its own FAQ, all resolved through one dynamic route so the client bundle stays tiny (per-calculator code-splitting took client JS from 935 KB down to around 24 KB async chunks). Correctness is enforced by 563 automated tests on the pure functions, and trust is made visible in the UI, with the official source, the rate year and a last-reviewed date shown on every calculator. It ships trilingual and RTL-native (Arabic by default, plus French and English), with bidirectional salary logic, shareable deep-linked results, a site-wide command-K search, branded PDF export and a live currency dashboard fed by Bank of Algeria and parallel-market rates. There is no traditional database: the rates live as versioned code, so every number is auditable in git.
Built With
Impact & Outcomes
0
Calculators across 17 categories
0
Automated correctness tests
0
Languages (AR/FR/EN), RTL-native
0
Pages indexed for search
0
Client JS per calculator
0
Releases in the first month
Need tools built on numbers people can trust?
Let's get them right.
Tell me what you're working on and I'll get back to you within 24 hours.
Start a Project






