Finance / Business System Case study

Finance / Business System

A complete financial system for a management consultancy: revenues, expenses, invoices, receipts, cheques, customer statements and reports, with role-based access, Excel export and a fully bilingual Arabic/English interface.

reyia-jo.com
Reaaya Finance — Bilingual Financial Management System website
Fig. 01 — Reaaya Finance — Bilingual Financial Management Systemreyia-jo.com

The Challenge

Reaaya Management Consultancy was tracking its finances across scattered files. Invoices, payments and expenses lived in different places, so producing a customer statement or a monthly report meant hours of manual reconciliation and room for error.

The Solution

I designed and built Reaaya Finance on my own, end to end: a single web system that holds every financial record of the company, from the first invoice to the final report. It is fully bilingual, Arabic and English, with proper right-to-left layouts, and built so that the numbers always agree with each other.

Accounting Accuracy

Amounts are stored as integers in thousandths to avoid rounding errors and to support three-decimal currencies. Tax and line totals are rounded once, invoice and receipt numbers are never reused after deletion, and currency, tax rate, numbering prefixes and company details are managed from the settings page.

Technical Stack

Next.js 16 (App Router and Server Actions) with React 19 and TypeScript. PostgreSQL 16 through Drizzle ORM, authentication and sessions with Better Auth, Tailwind CSS 4, Motion for animation and Recharts for charts. Excel export is generated in-house without third-party libraries. Deployed on a Linux server with PM2 cluster reloads behind Nginx, using release folders and a safe migration routine that backs up the database, rehearses on a copy and verifies row counts before applying changes.

Results

The company now runs its daily finance from one place: invoices, payments and expenses are recorded once, statements and reports are produced in seconds, and every team member works with exactly the permissions they need.

Key features

01

Invoices, receipts, revenues, expenses and cheques in one system

02

Customer statements and receivables aging that always reconcile

03

Financial reports with charts and multi-sheet Excel export

04

Three-level role-based access: viewer, accountant, administrator

05

Arabic and English interface with full RTL support and dark mode

06

Print-ready invoices, receipts, cheques and reports

07

In-app user guide with interactive guided tours

08

Safe database migrations with automatic backups and row-count checks

Technology

Next.js 16React 19TypeScriptPostgreSQL 16Drizzle ORMBetter AuthTailwind CSS 4RechartsDockerPM2Nginx
See it runningreyia-jo.com
Visit live site ↗